VNC Over SSH - the MS windows one
This the another part of the story, secure VNC connection over MS windows environment. Here are the steps:
Step 1
Get the following softwares
- VNC viewer (ver 4.1.3) or any kind of vnc viewer such as tightvnc
- Putty (ver 0.60)
Step 2
Install the above softwares, run the putty and setup the connection information. In the example, we want to have a secure connection with server named gl818.net. Under the Session Category, key in the host name and its saved sessions as the picture shown below:
Then select the SSH Connection, enable the compression option and make sure the SSH protocol 2 is selected.
Finally, setup a secure tunnel by port forwarding remote vnc server port 5901 to your local machine port 5902. Then press the Add button.
After the Add button is pressed, the port forward infomation will be added as below.
Finally, you need to go back to the Session Category to save the session information otherwise you will need to key in the same info when making connection again.
Step 3
To make sure the above info is saved properly, close the putty and restart it. Once it is loaded, highlight the wanted session and press the open button to start the connection.
If everything is correct, it will have pop up a window to ask for login information. Key in your server user id and password.
Step 4
Finally, you can launch the vncviewer by taking advantage of the above secure channel from the SSH. Just key in localhost:5902 and your vncserver password. That’s all !
Please note that when comparing the steps using the linux environment, the MS windows one takes a bit more steps of it.
References