Instructions for tunneling vnc over ssh using PuTTY
  • In the PuTTY Tunnels category, set the the source port to 59xx where xx is the vnc display number (i.e. add 5900 to the display number)
  • Set the destination to localhost:59xx (here 'localhost' is a literal string and it refers to the windows machine, not the machine running vncserver)
  • Select the "Local" radio button
  • Click on "Add" to add the tunnel to the "Forwarded ports" list
  • Open the ssh session and from the system menu (upper left corner) verify that the event log shows the tunnel was set up
  • Open vncviewer to localhost:59xx