On Wed, Feb 13, 2002 at 10:45:33PM +0200, Ehud Karni wrote:
> > 3. windows ssh client set to forward windowsbox:5902 to linuxbox:5901.
>
> Number 3 above is wrong because it say linuxbox:5901 and not
> localhost:5901 (linuxbox:5901 it will use the eth0 net - whichever its
> IP is, and not the l0 net - the loopback net, always 127.0.0.1).
> 
> I mean you're ssh line should be like:
> ssh -L 5902:localhost:5901 -l linux.dns.name
> 
> The "localhost" above must be used LITERALLY !!!!

Oops.  That is correct.  My last message should be amended to read:

When SSH forwards windowsbox:5902 to localhost: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.
-- 
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
---------------------------------------------------------------------

Reply via email to