[ale] X + SSH question
John C
jcouncilman at knology.net
Wed Apr 24 13:10:32 EDT 2002
thanks.... Never though it was that simple. Works great.
I've been going around the world to do the same thing.
-----Original Message-----
From: hirsch at zapmedia.com [mailto:hirsch at zapmedia.com]
To: ale at ale.org
Sent: Wednesday, April 24, 2002 11:19 AM
To: John C
Cc: ale at ale.org
Subject: [ale] X + SSH question
Augh! Crucioal typo in my instructions. The -x flag should be -X.
I've corrected it below.
John C writes:
> Example:
>
> me (Internet) ----> Intermediate box (Internet/private) ---> Target box
> (private)
>
> I want to run an X program on the Target box and redirect output to the
"me"
> box.
>
> I used to use this old xforward program, which was ok, but I'd like to
use
> SSH instead.
>
> What I want to do is SSH into the intermediate box, then SSH into the
> target, export the display to the middle box, which then forwards to
mine.
You are in luck. SSH does this for you automatically. If you turn on
X forwarding, either in your config file or with -X. At each stage it
will tunnel X through SSH to the previous DISPLAY. I think you can do
arbitrarily long chains of SSH logins like this.
Just "ssh -X intermediatehost" then "ssh -X remotehost"
--Michael
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list