Re: reverse x11 tunneling versus ssh -X




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

.



Relevant Pages

  • Re: Question on tunneling X
    ... >> packets with SSH. ... FreeBSD workstation ... natd forwards the packets from the gateway to ... Gdk-ERROR **: X connection to joloxbox.joshualokken.com:10.0 broken ...
    (comp.security.ssh)
  • Re: Remote desktop disconnects when using
    ... Check on the video driver at the host workstation, ... > I am setting up a vpn at the presidentshouse ... > self within a few seconds we lose the connection for just the workstation. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Changing Workstation ID in an adp
    ... ES> set when the Adp file is opened, but once it's there opening that adp ... ES> from another workstation does not change that value, ... VADIM, compiled it into ADE, and deployed on user's machine. ... you found out the connection shows VADIM as the host name. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Connecting a remote workstation to a domain
    ... Even setting up a low end workstation in the ... I have also selected not to dial an initial connection before ... remark that you will have to reboot the workstation. ... After the login script has finished and if you have Premium, ...
    (microsoft.public.windows.server.sbs)
  • Re: What is The SSH?
    ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
    (microsoft.public.windows.server.networking)