Re: reverse x11 tunneling versus ssh -X




Hello,

Here is the situation


Home -> Gateway -> Workstation


I normally use VNC and -L forwarding through the Gateway to
the desired workstation. This works fine, but some of my coworkers
would like to directly tunnel X11. The recipe below seems to work
fine:

home> ssh -X Gateway
Gateway> ssh -X Workstation
Workstation> xterm

This seems to work. But I would like to understand why the
following does not:

home> ssh -R 6001:127.0.0.1:6000 Gateway
Gateway> ssh Workstation
Workstation> DISPLAY=Gateway:1.0
Workstation> xterm

(Note: to generalize using port 60xx and DISPLAY=Gateway:xx.0)

Why doesn't this work?

You didn't say *how* it doesn't work (e.g. quote error messages). But
one problem could be X authentication, which SSH X forwarding handles
transparently.

--
Richard Silverman
res@xxxxxxxx

.



Relevant Pages

  • Re: Help in understanding XDMCP required
    ... with a second ssh hop onto my workstation from ... server on the workstation and then ssh ... to your firewall (with X forwarding) and run VNCviewer there to ...
    (Debian-User)
  • Re: rsync through gateway
    ... through a "gateway" computer. ... ssh to get into the gateway machine, then from there I use ssh again ... directly to the Sun workstation at work through the gateway (without ... You do the same from your home machine to the gateway, ...
    (comp.unix.shell)
  • rsync through gateway
    ... I have a Sunblade 2000 workstation at work and a MacBook Pro that I use ... I can only get to the Sun from home ... through a "gateway" computer. ... ssh to get into the gateway machine, then from there I use ssh again to ...
    (comp.unix.shell)
  • Re: Port forward
    ... It looks to me like a VPN would be more appropriate. ... It is really a gateway metric question. ... > 16 ports forwarded. ... > on the workstation as the LAN IP of the ...
    (microsoft.public.windowsxp.network_web)
  • Re: rsync through gateway
    ... through a "gateway" computer. ... directly to the Sun workstation at work through the gateway (without ... No problem if you've forwarded the port to your local ... public key to the ~/.ssh/authorized_keys2 file on the Sun workstation. ...
    (comp.unix.shell)