[TriLUG] SMB with SSH Linux->Windows?

Michael Czeiszperger czei at webperformanceinc.com
Sun Jan 13 14:36:47 EST 2002


Has anyone ever managed to get a Linux Samba share visible to a remote 
Windows box over ssh?

I'm trying to securely access my office's samba server from a home 
VMware/Windows installation. (*)  Since I only need file sharing on the 
windows box, and no other protocols, I thought that SSH would be easiest to 
use. So far I've:

1. Installed cygwin with ssh on Windows 2000.

2. Turned on NETBIOS over TCP/IP.

3. Executed the following on windows:
ssh -v -L 137:remotehost:137 -L 138:remotehost:138 -L 139:remotehost:139 
remotednsname.

4. On the windows machine I can telnet to port 139 at 127.0.0.1, which is 
correctly routed. I've also tried other ports, such as 143 for IMAP, and the 
protocol worked fine.

5. net use g: \\127.0.0.1\sharename gives "System error 67 has occurred. The 
network name could not be found."

Any ideas for something to try. I looked at some other options, but the ones 
I looked at were all for configuring Linux firewalls, while I'm using Linksys 
firewalls on both sides...

Thanks for any help,

Michael Czeiszperger



More information about the TriLUG mailing list