[wplug] Tunneling X across multiple SSH hops?

Poyner, Brandon bpoyner at ccac.edu
Fri Apr 15 15:37:22 EDT 2005


If you are using a newer version of OpenSSH you might need to include -Y
or     ForwardX11Trusted

  If this option is set to "yes" then remote X11 clients will have
  full access to the original X11 display.  If this option is set
  to "no" then remote X11 clients will be considered untrusted and
  prevented from stealing or tampering with data belonging to
  trusted X11 clients.

  The default is "no".

Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086
 
-----Original Message-----
From: wplug-bounces+bpoyner=ccac.edu at wplug.org
[mailto:wplug-bounces+bpoyner=ccac.edu at wplug.org] On Behalf Of Eric
Cooper
Sent: Friday, April 15, 2005 3:29 PM
To: wplug at wplug.org
Subject: Re: [wplug] Tunneling X across multiple SSH hops?

On Fri, Apr 15, 2005 at 02:06:08PM -0400, Vanco, Don wrote:
> Anyone have a quick-n-dirty set of instructions for getting X to "play
> nice" across multiple SSH hops?

Just use "-X" (forward X connection) along each hop:
    A$ ssh -X B
    B$ ssh -X C
    C$ xclock
displays the clock on A.

You might have to make sure that X forwarding is enabled in your
configuration (ForwardX11 in ssh_config, X11Forwarding in sshd_config)

-- 
Eric Cooper             e c c @ c m u . e d u
_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug




More information about the wplug mailing list