(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); skip to primary navigationskip to content
 

SSH Tunnels in PuTTy

 

  • On the PuTTy configuration dialogue box, once entered or loaded the Host Name and Port as usual

  • Click on Tunnels (found by uncrossing Connection, then uncross SSH)

  • In Source port add 59## , where ## is you Xdesktop number - in double figures ie 6 =06

  • In Destination add computer connected to and the above source port separated by a colon eg bcni2:5906

  • Then click Add

Go back to Session and save it giving an appropriate title eg bcni2_06, then you can quickly load it up next time you want to connect.

  • Then click Open to connect.

notes

  • VNC runs on port numbers beginning with 59 (number outside this range shouldn't work)

  • The Source port and Remote port don't have to be the same number. Useful if you want to access desktop 1 on machine 1 and also desktop 1 on machine 2 at the same time. The remote port always refers to the desktop, whereas the source port is what you tell the vnc viewer to connect to, on your local machine.