[SLL] VNC issue

Chris Fischer chris at protek.cc
Wed Mar 11 08:05:23 PDT 2009


Hi Paul,

Paul Franz wrote:
> I've seen this mentioned but so far I have not figured out how to tunnel through SSH.
> I might just try doing this:
>
> https://server.tld:5810 since I do have Apache configured for SSL but I'm using only a
> self signed certificate.
>
> Any guidance? Also I haven't tried any stand alone vnc clients yet either.
>   
This is using cygwin, but should work pretty much the same in Linux:

http://www.askstudent.com/security/how-to-setup-ssh-to-tunnel-vnc-traffic-throught-the-internet/

or howto with Putty and VNC gui client...although web client should work 
just as well:

http://members.shaw.ca/nicholas.fong/vnc/

There are Windows and Linux versions of Putty. Debian also has a package 
called putty-tools, which are command line tools for setting up ssh with 
putty, or you could just use ssh itself. Redhat may have a similar package.

The basic premise is you're going to setup a loopback ssh connection to 
'localhost', but that also forwards to an IP address and port of your 
choosing (the remote host running vncserver). Works great for connecting 
into one of my customers for which I don't have a VPN to.

Regards,

Chris


More information about the linux-list mailing list