Making VNC more secure using SSH - More advanced use

William Hooper whooper "at" freeshell.org
Sat Jan 15 01:08:00 2005


TC MA said:
[snip]
> How to setup vnc over ssh so that connections between
> snoopy (machine linux1) and third machine WILL be encrypted?

That would require two SSH tunnels.  Something like (untested):

machine1 $ ssh -L 5901:localhost:5904 linux2
linux2 $ ssh -L 5904:localhost:5901 machine3

Then use VNC on machine1 to connect to localhost::5901.

-- 
William Hooper