Category: vnc
01/19/06 08:18 - ID#21542
tunneling VNC through putty
So I love VNC (WIKIPEDIA - VNC), it allows you to control your computer visually from another computer. If you ever used apple or windows remote desktop product then you have used something like it. It was orginally developed by some people at ATT. THe nice thing about VNC is that it is free and that it allows you to interact with a windows desktop on a linux, a mac one on a PC, a PC one on a mac, etc, etc.
Here you can see my mac desktop on my windows desktop
You can download a VNC server and client here or at the original hoem of realVNC
Unfortunately, it is not the most secure thing out there. Yes, ytou can buy expensive versions that are highly encrypted but the easiest thing to do, is to tunnel your VNC connection through an SSH client such as putty.
This for example lets me visually control my linux server from afar. In a home network this would allow you to use one computer from a window on another to say change msuci on the computer downstairs.
So anyways if you are using VNC client on windows to view you other desktop, it is easy and freee to pipe it over putty.
Here is how you would do it I copied the info here to so that in case that link goes down you can still find it here.
If the VNC Server is running on a Linux machine or it is running on a Windows machine that is also running sshd, then setup a tunnel from client machine to server machine with: (The following instructions are for PuTTY , adjust accordingly.)
* After entering the address of the client machine, go to the "Tunnels" section under SSH.
* Enter 5901 in the "Source port" box under the "Add new forwarded port" section.
* Enter "localhost:5901" in the "Destination" box
* Make sure that the "Local" radio button is selected
* Click the "Add" button and the information should appear in the "Forwarded ports:" box.
* One can now initiate the connection by pressing the "Open" button
* Once the connection is established, the VNC client can be started from the Windows menu (use display 1)
Here you can see my mac desktop on my windows desktop
You can download a VNC server and client here or at the original hoem of realVNC
Unfortunately, it is not the most secure thing out there. Yes, ytou can buy expensive versions that are highly encrypted but the easiest thing to do, is to tunnel your VNC connection through an SSH client such as putty.
This for example lets me visually control my linux server from afar. In a home network this would allow you to use one computer from a window on another to say change msuci on the computer downstairs.
So anyways if you are using VNC client on windows to view you other desktop, it is easy and freee to pipe it over putty.
Here is how you would do it I copied the info here to so that in case that link goes down you can still find it here.
If the VNC Server is running on a Linux machine or it is running on a Windows machine that is also running sshd, then setup a tunnel from client machine to server machine with: (The following instructions are for PuTTY , adjust accordingly.)
* After entering the address of the client machine, go to the "Tunnels" section under SSH.
* Enter 5901 in the "Source port" box under the "Add new forwarded port" section.
* Enter "localhost:5901" in the "Destination" box
* Make sure that the "Local" radio button is selected
* Click the "Add" button and the information should appear in the "Forwarded ports:" box.
* One can now initiate the connection by pressing the "Open" button
* Once the connection is established, the VNC client can be started from the Windows menu (use display 1)
Permalink: tunneling_VNC_through_putty.html
Words: 391
Author Info
Category Cloud
More Entries
After This
My Fav Posts
- This user has zero favorite blogs selected ;(