On Thu, Feb 21, 2002, Hetz Ben Hamo wrote about "Re: X Forwarding question":
> You can't - 10.1.1.1 is not accessible from outside, only through ssh'ing the 
> gateway and then to 10.1.1.1

So what? You can do two "stages" of ssh -X, from your machine to the gateway,
and then from the gateway to 10.1.1.1. Connections to (say) 10.1.1.1:10 will
be forwarded to gateway:10, and these connections will be forwarded to
yourmachine:0. Everything should be completely automatic - just run ssh -X
instead of ssh. You don't even have to set DISPLAY (except on your machine,
before the initial ssh, of course), ssh does it for you.

> ssh -X other-side-GW-IP, and from there - ssh -X 10.1.1.1
> this still doesn't work, and doing: export DISPLAY=192.168.1.2:0.0 and then 
> running xlogo for example - doesn't give me anything...

This should work. *Don't* set DISPLAY yourself - use the one ssh gives you.
What DISPLAY do you get on the gateway (in the middle of the ssh sequence)?
What DISPLAY do you get finally on 10.1.1.1?
What do you mean by "doesn't work" and "doesn't give me anything"?

-- 
Nadav Har'El                        |      Thursday, Feb 21 2002, 10 Adar 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Lumber Cartel member #2224.
http://nadav.harel.org.il           |http://come.to/the.lumber.cartel

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to