Re: ssh chaining?


Subject: Re: ssh chaining?
From: Jamie Hushower (hushower@alaska-geeks.com)
Date: Tue Feb 03 2004 - 09:15:35 AKST


I have a similar requirement. I forward my VNC ports instead of fumbling
with how the various ssh software will handle the display forwarding.
Then I run vncserver on the endpoint and direct my local VNC client to
localhost. Things run more smoothly over the Internet as I only wait for
screen updates instead of critical data to traverse.

-Jamie

Thomison, Lee wrote:

> I'm trying to do X windows thru a 'chain' of ssh logins...
>
> Me -> ssh box1 -> ssh box2
>
> Is this doable?
>
> I ssh into box1, and then from box1 I ssh into box2. I actually want to
> be doing X work in box2, using my laptop as a X11 'terminal' at kaladi
> bros. In, say, Hawaii....
>
> As you may have guessed tho, it doesn't work. Here's the error:
>
> Error: Can't open display:
>
> My laptop has Xfree on it (gentoo)
>
> Box1 is an openbsd box that does not have X on it. I can ssh into box1
> just fine.
>
> I can ssh into box2 just fine. It has X on it. But typing xclock&
> gives the "error: can't open display:". No display number
>
> Here's the box1 sshd_config:
>
> Port 22
> Protocol 2
> AllowTCPForwarding yes
> X11Forwarding yes
> GatewayPorts yes
>
> Box1 ssh_config:
>
> Host *
> ForwardX11 yes
> Protocol 2
> Port 22
> ForwardAgent yes
>
> box2 sshd_config:
>
> Port 22
> Protocol 2
> AllowTCPForwarding yes
> X11Forwarding yes
> GatewayPorts yes
>
> Box2 ssh_config:
>
> Host *
> ForwardX11 yes
> Protocol 2
> Port 22
> ForwardAgent yes
>
> What am I missing?
>
> Thx,
>
> Lee
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>
>

-- 
Jamie Hushower
Computer Consultant
Rent-A-Geek
223-9136
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Feb 03 2004 - 09:17:00 AKST