On Wednesday 07 December 2005 18:00, Debian Users wrote:
I have read about tunneling the SMB traffic through an ssh tunnel, but
that would also mean turning off the usual network browsing of the remote
Windows box, which is cumbersome at least.
No, it wouldn't. Using your laptop, use putty to port forward the windows
share port on your machine to the windows (samba) share port on your
server. Then, when you attempt to connect to a windows share from your
laptop, you'll actually connect to the windows share of the server,
tunneled through SSH. The port forwarding will not affect the other
windows machines inside the network, but will prevent your laptop from
viewing the shares on whatever network it's on until the forwarding is
ended.