
#WINDOWS CONNECT TO VNC THROUGH SSH TUNNEL HOW TO#
how to access vncserver using vncviewer and ssh putty to access my raspberry pi over port 22 (instead of vncserver's learn to create a secure tunnel using the ssh putty client on windows. In this video i go over how to create an encrypted connection to a vnc server using putty and ssh tunnel. How To Connect To Vnc Server Using Ssh Tunnel With Putty And Port Forward if an ssh shell is not needed, option –n can be used. to set up a tunnel to port 5904 (and hence to the vm that listens on that port) as described above – run the following cli command: this command opens an ssh shell once logged on. It is possible to set up ssh tunnels using command line utility plink.exe that comes with putty in windows. open putty, go to connection >ssh >tunnels: and enter source port, final destination ip. my remote vnc server was setup to listen on port 5900 (screen 0) so, here is what i did. connection was insecure, additional port was open on router and connection wasn't very fast even though i had dsl on both ends.

and connect to your server at its ip address and port 22 via putty. connecting to the server via ssh tunnel using putty under connection > ssh > tunnels add: source port: 5901. Port for connection to vnc is: localhost:5901. How To Connect To Vnc Server Using Ssh Tunnel With Putty in this example, a vnc client on your local computer will connect to a remote vnc server (vncserv.tech recipes :0) using port forwarding with an ssh connection to another remote host (sshd.tech recipes ). Using tunnels with ssh is a powerful method to access services on systems behind a firewall or that are otherwise inaccessible.
#WINDOWS CONNECT TO VNC THROUGH SSH TUNNEL PC#
in the destination text box, type your remote ip address:5901, using the ip address of the remote desktop pc or server. in the port forwarding section of the tunnels menu, you’ll be providing the details to allow putty to tunnel your vnc connection over ssh. there are times when you need to remote into a linux desktop. if your network doesn't allow connections into the default vnc port 5901, you can tunnel it through ssh.

using tunnels with ssh is a powerful method to access services on systems behind a firewall or that are otherwise inaccessible. Creating a putty ssh tunnel the urban penguin.
