Re: SSH tunnel and X forwarding
- From: Greg Wooledge <wooledg@xxxxxxxxxxx>
- Date: Tue, 30 Sep 2008 14:34:59 -0400
On Tue, Sep 30, 2008 at 01:21:14PM +0200, Malte Horst Arthur Skoruppa wrote:
malte@hal $ ssh -g -L 2508:ririu:22 malte@ririu
malte@freya $ ssh -p 2508 -X malte@hal
I do succeed in connecting to ririu. Except that the X forwarding doesn't work!
It should work as expected if you just skip the tunnel and use two
imadev:~$ ssh -t -X vandev ssh -X arc1 xdpyinfo
RSA host key for IP address '10.76.142.101' not in list of known hosts.
Warning: No xauth data; using fake authentication data for X11 forwarding.
name of display: localhost:11.0
version number: 11.0
vendor string: Hewlett-Packard Company
vendor release number: 600000
Of course you'll need xauth(1) on all three machines, and X11Forwarding
in the sshd_config files on all but "hal".
The -t option on the first ssh is so that there's a terminal in which
the sshd on box #2 (vandev in my example) can ask for a password. This
shouldn't be needed if you use keys.
- Next by Date: Re: SSH tunnel and X forwarding
- Next by thread: Re: SSH tunnel and X forwarding