Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.