Something like this in .ssh/config file
- ssh user@hostname -L 1139:192.168.1.60:139
I use 127.0.0.1:1139 so I don't have to be root for this portforwarding (port <1024).>
- mount.smbfs //localhost/SHARE ~/mnt/hostname/ -o port=1139,user=SAMBAUSER,rw
Labels: samba, ssh
0 Comments:
Post a Comment
<< Home