VNC over SSH – Linux / Windows

For remote administration we use ssh. You may require to take VNC of remote terminal.

VNC is safe for over local network, you might want to consider using it over SSH to get encryption.

For Linux

vncviewer -via root@192.168.222.1 localhost:1

for Linux above single command can tunnel VNC through SSH.

For Windows

Bellow images illustrates how to connect VNC through SSH from Windows terminal.

Run putty.exe, enter ip & port details of ssh server.

Goto SSH –> Tunnels (left panel), enter source & destination port.

winvnc1 VNC over SSH   Linux / Windows

You can now save session.

winvnc2 VNC over SSH   Linux / Windows

On successful connection to remote ssh server, you’ll find port 5901 is in listening mode on localhost.

winvnc3 VNC over SSH   Linux / Windows

You can run vncviewer.exe & enter localhost:1 in server tab.

winvnc4 VNC over SSH   Linux / Windows

You’ll be prompted to enter password.

winvnc5 VNC over SSH   Linux / Windows

You are connected to remote vnc through ssh.

winvnc6 VNC over SSH   Linux / Windows

This is not all, you can use it to access applications running on different / standard ports. e.g IMAP, Admin panel for Operfire Messenger.

Related posts:

  1. SSH / SCP key authentication
  2. Free SSHD & FTPD for Windows
  3. French police switch from Windows to Linux
  4. Ubuntu USB Boot for Linux / Windows
  5. 10 Linux Based Browser

Subscribe to LinuxReaders

rss twitter mail google buzz facbook stumble digg

Leave a Reply