Re: [lug-nuts] anyone done X forwarding through ssh

From: Mike Machado (mike@innercite.com)
Date: Mon Nov 22 1999 - 13:01:29 PST


Michael Long wrote:
>
> it's just like telnet AFAIK. Just ssh into the box and do a setenv DISPLAY
> ip:0.0 (assuming you are in csh...)
>

ssh actually listens on a whole new socket when you ssh in. If you do a
netstat -an you will see
sockets 6010 (or something around 60xx) which is its X tunnel. When
something connects to that X socket
it is forwarded over the ssh tunnel. Very similar to port tunneling. If
you do the ip:0.0 it will not use the
ssh tunnel and not be secure.

> Mike
>
> On Mon, 22 Nov 1999, Brian Lavender wrote:
>
> > Anyone exported their X display through ssh? How do you do it?
> >
> > brian
> > --
> > Brian Lavender
> > http://www.brie.com/brian/
> > ****************************************************************************
> > * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
> > * in the message body to majordomo@saclug.org. Please direct other
> > * questions, comments, or problems to lug-nuts-owner@saclug.org.
> >
>
> ****************************************************************************
> * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
> * in the message body to majordomo@saclug.org. Please direct other
> * questions, comments, or problems to lug-nuts-owner@saclug.org.

-- 
Mike Machado
mike@innercite.com
InnerCite
Network Specialist
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:08 PST