Difference between revisions of "Tunnel VNC through SSH"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
=How to connect to a Mac VNC session through a tunnel using putty=
+
=How to connect to a VNC session through a tunnel using putty=
  
 
==Create a session profile==
 
==Create a session profile==
Line 15: Line 15:
  
 
==Setup the tunnel options==  
 
==Setup the tunnel options==  
The default VNC port on Mac is 5900. The source port is a free and open port on your local machine. (You may need to open that port on your firewall). The 'local' radio button should be selected. Click add, go back to sessions and save the session for next time:
+
The default VNC port on Mac is 5900. On linux is often 5900 or 5901. The source port is a free and open port on your local machine. (You may need to open that port on your firewall). The 'local' radio button should be selected. Click add, go back to sessions and save the session for next time. Then login to the remote SSH server as you normal would with your userid and password:
  
 
[[Image:Putty3.JPG]]
 
[[Image:Putty3.JPG]]
Line 22: Line 22:
  
 
==Launch vncviewer==  
 
==Launch vncviewer==  
Select locahost:50005 (or whatever local port you use):
+
Using a vnc client such as TightVNC, select locahost:50005 (or whatever local port you use):
  
 
[[Image:Vnc1.JPG]]
 
[[Image:Vnc1.JPG]]

Revision as of 21:36, 1 October 2008

How to connect to a VNC session through a tunnel using putty

Create a session profile

Use the IP address of the remote computer you are connecting to. The ssh port is 22 by default.

Putty1.JPG


Enable compression to make the session faster

Putty2.JPG


Setup the tunnel options

The default VNC port on Mac is 5900. On linux is often 5900 or 5901. The source port is a free and open port on your local machine. (You may need to open that port on your firewall). The 'local' radio button should be selected. Click add, go back to sessions and save the session for next time. Then login to the remote SSH server as you normal would with your userid and password:

Putty3.JPG


Launch vncviewer

Using a vnc client such as TightVNC, select locahost:50005 (or whatever local port you use):

Vnc1.JPG


You will need the VNC server password, naturally. You'll need to ask someone who knows what it is!