Mount cifs through ssh tunnel

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

on local:
ssh -N -L 139:127.0.0.1:445 user@remote.host.name
on local:
mount -t cifs -o username=user,version=3 //localhost/user/ mountpoint

Be the first to comment!

Leave a Reply