Question : How to create an SMB tunnel with openssh

I can tunnel smb over an ssh connection from a windows XP box to a Slackware machine to access Samba shares. I'm using putty, but I want to use openssh. Can anyone tell me which options i need to pass in order to achieve this?

I have a loopback adapter installed as per this article.
http://www.blisstonia.com/eolson/notes/smboverssh.php

There is some discussion of openssh at the end of the article, but I have not been able to make it work.

Answer : How to create an SMB tunnel with openssh

ssh -L remoteserver:138:localhost:138 -L remoteserver:139:localhost:139 -L remoteserver:445:localhost:445 user@remoteserver
# not sure if you need to forward port 137 also

Random Solutions  
 
programming4us programming4us