Problem solve Get help with specific problems with your technologies, process and projects.

SSH tunnel for remote Samba server access

Need a quick, secure method for accessing your Samba shares offsite? Read this user-submitted tip.

On occasion I use a SSH tunnel for VPN access to my Samba shares when I'm offsite. This allows me to quickly and...

securely access my data. # ssh -N -f -L : :139 @

# mount -t smbfs -o port=<your chosen local port>,ip=,username=<samba account>,password=<account password> //localhost/<desired samba share> <target mount directory>

This was last published in March 2004

Dig Deeper on Linux servers

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.