

Unistall vnc viewer for mac full#
Click the 'Session' category and enter the full hostname or ip for stefan.In 'Destination', enter localhost:59YY where YY is the session on stefan.

In 'Source Port', enter 59XX where 59XX is the port on the local machine.Expand the SSH category on the left and click "Tunnels".The ssh tunnel is created on a windows machine using the following steps, assuming putty is installed: 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. 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. It can slow things down on a fast connection. -L 59XX:localhost:59YY: forwards port 59XX on the localhost to port 59YY on the remote host.-g: allows remote host to connect to local forwarded ports.The ssh tunnel is created on a linux machine using the following command: ssh -X -Y -C -g -L 59XX:localhost:59YY -X: enables X11 forwarding
