X forwarding over multiple ssh tunnels?

From: Kamen Penev (kamen@penev.net)
Date: 02/28/03

  • Next message: mark stephens: "Banner messages - avoiding on "ssh host cmd""
    Date: Fri, 28 Feb 2003 10:45:00 -0800
    From: Kamen Penev <kamen@penev.net>
    To: secureshell@securityfocus.com
    
    

    Hi!

    Is it possible to forward X window traffic over multiple ssh tunnels?

    I have machines A(cygwin), B(linux), and C(freebsd)

    I have an X-server running on A and DISPLAY=localhost:0

    I can
    ssh -X B

    and X clients will display on A.

    I would like to "ssh -X C" from B and have X-clients on C display on A,
    but I can't get it to work.

    Is this possible?

    I cannot ssh directly from A to C because B and C are behind a firewall
    and only B is exposed.

    Thanks.

    Kamen



    Relevant Pages

    • Re: Can Exceed connect to linux (running Gnome) through SSH?
      ... > -These machines are in two separate physical locations and separated ... Each firewall allows SSH ... Now start xterm and you should see a window pop up" ... > I simply log in through the Gnome login screen and it works. ...
      (comp.os.linux.security)
    • (no subject)
      ... > -These machines are in two separate physical locations and separated ... Each firewall allows SSH ... Now start xterm and you should see a window pop up" ... > I simply log in through the Gnome login screen and it works. ...
      (comp.os.linux.security)
    • Re: SSH: remote login returns "invalid user"
      ... out what my hosting service has to say. ... So I could ssh to www.hartley-consultants.com and arrive at one machine or ssh to mail.hartley-consultants.com and arrive at another. ... Inside my home network I have a number of machines on a lan. ... Now, as has been mentioned above, NAT is a technique to allow a single ip address to support several machines to make OUTGOING connections. ...
      (Debian-User)
    • Re: Did I give up on telnet too easily?
      ... > If ssh is to be considered 'more secure' than telnet, ... have a mixture of Debian, Red Hat, Trustix, Tru64 Unix, and HP-UX machines. ... theirs isn't OpenSSH based, so it wouldn't have needed updating). ... > etc.) I think a better approach would be to use telnet for remote access. ...
      (comp.os.linux.security)
    • Re: Did I give up on telnet too easily?
      ... > If ssh is to be considered 'more secure' than telnet, ... have a mixture of Debian, Red Hat, Trustix, Tru64 Unix, and HP-UX machines. ... theirs isn't OpenSSH based, so it wouldn't have needed updating). ... > etc.) I think a better approach would be to use telnet for remote access. ...
      (comp.os.linux.networking)