Establish an SSH Tunnel Using PuTTY on Windows
by Brian on May.20, 2005, under Windows Info
Creating An SSH Tunnel For VNC Using PuTTY
The first step is to launch PuTTY. The PuTTY Configuration will open. Enter
Enter the hostname in the configuration window
Click on “Tunnels” on the left hand side. The window will change to reflect this new selection.
Enter the tunnel information
From the “Connect” window, click the “New Session” button (third from the left.).
Start by entering the following information:
* Protocol: ssh2
* Hostname: hostname.goes.here
Then click “Port Forwarding” under “Category”.
Click the “Add” button.
To create the tunnel, you must enter the requested information in the following manner:
* Local port: 5900
* Remote port: 5900
If your VNC session number is 0 you would enter 5900 for both Local and Remote port.
When you have finished: click the “Ok” button. The new session window will update to reflect your changes.
Click the “Ok” button to complete the addition of the new session. To use the session you have created: double-click the session name. Authenticate as usual.
The last step is to start your VNC client. When prompted for hostname:
use localhost:5900 instead of hostname.goes.here:5900
Get it?