Remote Access > SSH Tunneling > Mac OS X
SSH Tunneling on Mac OSX
Tunneling SMTP
Go -> Applications -> Utilities -> Terminal
- su to root (need to be root to forward port numbers less than 1024; smtp uses 25 by default)
- ssh -l username -L 25:mail.cs.toronto.edu:25 cs.toronto.edu
- In your mail client adjust your smtp settings so that the SMTP server points to: 127.0.0.1
- Send mail.
Tunneling Samba
Go -> Applications -> Utilities -> Terminal
- su to root (need to be root to forward port numbers less than 1024; smb uses 139 by default)
ssh -l username -L 139:smb.cs.toronto.edu:139 cs.toronto.edu
Keep this connection open while you perform the next step.ToolBar -> Go -> Connect to Server...
In the Address box supply:
smb://127.0.0.1/username
Supply your CSLAB username and password, making sure you only supply the first eight characters of your CSLab password.- If all goes as expected, you should now have mapped your CSLAB home directory via an SSH tunnel.
CSLab Support