Re: X forwarding over ssh stacked over ssh?
From: Juri Munkki (jmunkki@alpha.hut.fi)Date: 01/30/02
- Next message: sacha: "SSH unable to use pub/priv keys rh7.2"
- Previous message: Frank Winkler: "Re: Problems with OpenSSH and X11 forwarding"
- In reply to: r5: "X forwarding over ssh stacked over ssh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jmunkki@alpha.hut.fi (Juri Munkki) Date: 30 Jan 2002 15:06:40 GMT
In article <842eb435.0201282057.7e0e810b@posting.google.com> r5ahhj@cotse.net (r5) writes:
>Is there a way to forward X from the local host (where ssh is run)
>to the remote host? The set up of ssh seems to be hard wired just
>to permit forwarding from wherever sshd is run to the client
>side.
Can you explain in more detail why you would want to do it this way?
>From what you write later on, I assume you have sshd on both machines
and the reason you want to go the other way is that you can't use SSH
to connect one way, but it works the other way.
So, how about this (assuming you have sshd on the standard port on
each side):
On machine A:
ssh B -R 22022:A:22
And when you connect to B:
ssh localhost -p 22022
You are now tunneling the second SSH connection over the remote tunnel
established by the first connection. The ssh client is running on B, where
you presumably have your X server running and the X client application is
on A.
-- Juri Munkki jmunkki@iki.fi What you see isn't all you get. http://www.iki.fi/jmunkki Windsurfing: Faster than the wind.
- Next message: sacha: "SSH unable to use pub/priv keys rh7.2"
- Previous message: Frank Winkler: "Re: Problems with OpenSSH and X11 forwarding"
- In reply to: r5: "X forwarding over ssh stacked over ssh?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|