Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is the situation:

  • Server 1 - I have direct SSH access to this machine.
  • Server 2 - Can only be accessed via Server 1 (SSH).

(Both Linux boxes.)

Is there a way to set up direct VNC access to Server 2 from a Windows box?

share|improve this question
up vote 3 down vote accepted

You should be able to do the same thing as described here. In your case you would use putty to connect to server1 through ssh but use the IP address or name of Server2 in the destination field instead of 'localhost'.

All the following steps are to be done on your windows system:

Open the main Putty screen:

Host Name: [your public IP or domain name for server1]
Port: [Use whatever port Server1 is configured to use]

Under the [SSH -> Tunnels] menu in putty:

Source port: 5000
Destination: [server2 internal IP address]:5900
Click Add
Click Open and type in the username and password

Open your VNC client. Different VNC clients might use different notations for specifying ports. If you use ultraVNC:

VNC Server: localhost:5000

Server2 needs to have a VNC server on it but it only needs to be visible to Server1 on the internal network.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .