|Search Duke CSL||
Using the ssh command, the following options will create a secure tunnel for the user fred (please substitute your actual CS username) on the port 139 (the SAMBA port). This can be generalized to any specific application, please see the common application list below:
ssh -L 139:share.cs.duke.edu:139 firstname.lastname@example.org
This will log you into the CS login server and create a forwarding port for SAMBA (port 139).
By default, these commands must be exectued as root or an equivalently privileged user on your machine. Alternatively, you can tell smbmount to use a different port; see the ssh and smbmount manpages for more details.
To create a secure tunnel in ssh, using the ssh.com version, you must set up the tunnel in the preferences menu:Click to set up a new tunnel. The details are showing in the figure below. Please consult the following diagram if you are unsure of the settings.
Select, then . You will need to exit and restart the ssh program for the new settings to take effect.