I'd like to be able to connect from a Windows 7 machine to a Linux box running Samba. I export shares from the Windows machine, so turning off file sharing isn't an option.
I've installed a loopback adapter, but when I try to use it to forward port 139 like this
ssh -v -L10.11.12.13:139:localhost:139 eimac
I get this in the output:
debug1: Local connections to 10.11.12.13:139 forwarded to remote address localhost:139 debug1: Local forwarding listening on 10.11.12.13 port 139. bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 139 Could not request local forwarding.
Forwarding a different port works - I tried it with port 22 and had no issues.
It seems like Windows is already using port 139 on the loopback adapter, but I've gone into the properties page on the loopback adapter and the only item enabled is Internet Protocol Version 4.
Is there something else I need to do on Windows 7 to tell it not to start anything on port 139 for that adapter?