SUMMARY: one for the guru's : X11 through two SSH tunnels ?

From: Rob De Langhe <rob.delanghe_at_telindus.be>
Date: Fri Oct 17 2003 - 08:58:12 EDT
Fast response, plenty of guru's (or am I the dummy ?)

Solution :

>From host A: ssh -X serverB

>From host B: ssh -X serverC

>From host C: xterm, or whatever X-application.

Works fine, but requires home-directory on each server to create
~/.Xauthority file, and "Xforwarind yes" in the sshd_config file on all
servers.

Thanks to Ole-Morten Duesund, Grzegorz Bakalarski, Simon Burr, Daniel
Pettersson, Martin Schmitt, Walter Heukels, Steven Haywood, Michael
Schneider, Brian Beers, Mark Maurer.

-----Original Message-----
From: Rob De Langhe 
Sent: Friday, October 17, 2003 9:46 AM
To: 'sunmanagers@sunmanagers.org'
Subject: one for the guru's : X11 through two SSH tunnels ?


Hi all, 
 
I want to know if this is feasable :
 
from workstation/desktop A with a private IP address (10.*), I connect with
"ssh" to an intermediate host B  (with public IP address) getting an
interactive shell from its "sshd". Consider "B" to be like a proxy host in
-say- some DMZ.
 
>From B then, I need to connect accross the internet with "ssh" to a 
>remote
host C (with public IP address), where in turn I get an interactive shell
from its "sshd".
 
Now on this host C, I need to launch an X-11 program, displaying back onto
the display of my workstation/desktop A ...
 
How about that ?
 
I know about tunneling X-11 through a single SSH-connection back to the
originating host, but how to achieve that the X-11 will go from C into a SSH
tunnel back to B, then back into a SSH-tunnel towards A ?
 
Awaiting anxiously any suggestions !
 
TIA
 
Rob


>>> 
30th Telindus International Symposium 
Thursday, October 30, 2003 - Brussels Expo, Belgium 

Check out the complete conference programme, exhibition, 
workshops and register now for this high value 'must attend' event! 

http://www.telindussymposium.com 
<<<
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


>>> 
30th Telindus International Symposium 
Thursday, October 30, 2003 - Brussels Expo, Belgium 

Check out the complete conference programme, exhibition, 
workshops and register now for this high value 'must attend' event! 

http://www.telindussymposium.com 
<<<
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Oct 17 08:58:08 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:22 EST