SSH Tunneling on Windows using putty
The ssh tunnel is created on a windows machine using the following steps, assuming putty is installed:
- Start putty
- Expand the SSH category on the left and click "Tunnels"
- In 'Source Port', enter 59XX where 59XX is the port on the local machine
- In 'Destination', enter localhost:59YY where YY is the session on stefan
- Click 'Add' to store the information
- Click the 'Session' category and enter the full hostname or ip for stefan
- To save the settings, type a name under 'Saved Sessions' and click 'Save'
- Click 'Open' to begin the ssh session and log into stefan using a guest account
- Note 1: tunnel L59XX localhost:59YY forwards port 59XX on the localhost to port 59YY on the remote host.
- Note 2: log into stefan.ifa.hawaii.edu as YYYYSPPP. You need to replace YYYYSPPP with the program number you have been assigned, for example 2015A001. You can use either the hostname or the IP address to connect to stefan.
Once the ssh tunnel has been set up, you run the vnc client on the local machine and connect to the server localhost:59XX.