Re: reverse x11 tunneling versus ssh -X
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 24 Oct 2007 17:53:51 -0400
On Oct 23, 2:56 pm, Mark <m...@xxxxxxxxxxxxxx> wrote:
On Tue, 23 Oct 2007 18:10:02 +0000, ohms377 wrote:
Why doesn't this work?
Probably because port 6001 is not open to accept connections on the
gateway machine.
But both those approaches are inefficient and tedious. You are best just
adding the entry:
Host Workstation
ProxyCommand=ssh -qax -o "clearAllForwardings=yes" Gateway nc %h %p
to your Workstation:~/.ssh/config file and then a simple:
Home> ssh -X Workstation
will work fine (and efficiently over a single ssh session).
Thanks for replying Mark,
But my Home computer cannot directly communicate to my work's
Workstation,
so ssh -X Workstation from Home doesn't make sense for me. Sorry, I
might be
missing something...
The "host Workstation" stanza makes ssh do something different when you
type "ssh Workstation": it uses a second SSH connection together with
netcat (nc) as the transport for the first connection. Read up on the
ProxyCommand feature. This is definitely a better way to do it.
--
Richard Silverman
res@xxxxxxxx
.
- References:
- reverse x11 tunneling versus ssh -X
- From: ohms377
- Re: reverse x11 tunneling versus ssh -X
- From: Mark
- Re: reverse x11 tunneling versus ssh -X
- From: ohms377
- reverse x11 tunneling versus ssh -X
- Prev by Date: Re: reverse x11 tunneling versus ssh -X
- Next by Date: Re: Securing
- Previous by thread: Re: reverse x11 tunneling versus ssh -X
- Next by thread: Re: reverse x11 tunneling versus ssh -X
- Index(es):
Relevant Pages
|