This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re(1): Secure remote access to your desktop

Posted by: Anonymous [ip: 204.249.105.251] on October 08, 2007 02:39 PM
You can get very decent performance with VNC over ssh if you use compression. For example, you can use a line like this to connect you your computer:

ssh -C -L 5902:127.0.0.1:5901 -p 16949 remotekereki.homelinux.com -l remote1776

The -C parameter specifies to use compression. The 5902:127.0.0.1:5901 part maps your local host 127.0.0.1 port to your remote machine. The rest I think is obvious. Once that is done, all you have to do is run the tightvnc client poniting it to your local host's 02 port, like this:

127.0.0.1:2

That should give you a fast, encrypted connection to your remote machine using plain ssh and vnc. Try it.

#

Return to Secure remote access to your desktop