On Wed, Feb 13, 2002 at 01:08:12PM -0600, dssyenon wrote: > > A config summary: > 1. vncserver -localhost running on linuxbox:5901 > 2. vncviewer running on windowsbox > 3. windows ssh client set to forward windowsbox:5902 to linuxbox:5901. > > If I'm understanding correctly, are you saying #3 is wrong? I'm guessing > that's because linuxbox's vncserver was started with -localhost, so it > won't accept a connection from windowsbox:5902.
No, #3 is right. When SSH forwards windowsbox:5902 to linuxbox:5901, it listens on windowsbox:5902, tunnels the data inside the SSH connection to linuxbox:22, and then (on the Linux box) opens up a connection to localhost:5901. Then it keeps the connection open (bi-directional) until either end closes it. > Would I then need two tunnels? > 3b. windows ssh client set to forward windowsbox:5902 to linuxbox:5902. > 4. linux ssh client set to forward linuxbox:5902 to linuxbox:5901. That's sort of what SSH does internally. -- Mike Ossmann, Tarantella/UNIX Engineer/Instructor Alternative Technology, Inc. http://www.alttech.com/ --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------
