

You can use either the hostname or the IP address to connect to stefan. You need to replace YYYYSPPP with the program number you have been assigned, for example 2015A001.

PuTTY then transfers all the VNC data through the SSH connection initiated from the client to the server.
Vnc viewer ssh tunnel software#
The PuTTY software listening on the port answers this connection. The VNC Viewer initiates a connection on port 5901 localhost. Click 'Open' to begin the ssh session and log into stefan using a guest account When you enter localhost:5901 in the VNC Viewer and click connect the following process happens.To save the settings, type a name under 'Saved Sessions' and click 'Save' Connecting to a VNC Server via SSH Tunneling From local (viewer) machine, run: > ssh -L 590x:localhost:590y userremotehost -p portnum On the local machine.You can disconnect the monitor now and get near to your computer. VNC Viewer should connect correctly to the server. Then choose advanced options > SSH > Enable SSH > return to the Terminal and type: sudo reboot. 0.1:1234 (since that the port 1234 is available on the client itself).
Vnc viewer ssh tunnel full#
Vnc viewer ssh tunnel how to#
The ssh tunnel is created on a windows machine using the following steps, assuming putty is installed: To tunnel VNCtraffic to a MS Windows workstation, add a port configuration to pass traffic on the VNC port to the local system through the SSH connection. Below are some examples of how to use VNC with ssh tunneling for security for Windows, Mac, and Linux. This example opens the session on stefan:9. In two terminals on the local client machine: ssh -L 5901:localhost:5909 vncviewer localhost:5901

It is very important that you not start the vnc client in the same terminal that is logged into stefan, as it will be extremely slow due to the fact that the vnc client is being exported from stefan to your local host. Once the ssh tunnel has been set up, you run the vnc client on the local machine from a second terminal or from the menus, and connect to the server localhost:59XX. It can slow things down on a fast connection.
