Peng Yu
2015-Jul-05 01:05 UTC
How to ssh to a server via an intermediate server with X11 forwarding?
I tried the following command. ssh -Y -t intermediate -- ssh -Y dest But it shows the following error message. Does anybody know how to fix the problem? Thanks. X11 forwarding request failed on channel 0 -- Regards, Peng
Damien Miller
2015-Jul-05 08:26 UTC
How to ssh to a server via an intermediate server with X11 forwarding?
On Sat, 4 Jul 2015, Peng Yu wrote:> I tried the following command. > > ssh -Y -t intermediate -- ssh -Y dest > > But it shows the following error message. Does anybody know how to fix > the problem? Thanks.ssh -oProxyCommand="ssh -W %h:%p intermediate" -Y dest should work -d
Peng Yu
2015-Jul-18 03:24 UTC
How to ssh to a server via an intermediate server with X11 forwarding?
On Sun, Jul 5, 2015 at 3:26 AM, Damien Miller <djm at mindrot.org> wrote:> On Sat, 4 Jul 2015, Peng Yu wrote: > >> I tried the following command. >> >> ssh -Y -t intermediate -- ssh -Y dest >> >> But it shows the following error message. Does anybody know how to fix >> the problem? Thanks. > > ssh -oProxyCommand="ssh -W %h:%p intermediate" -Y dest > > should workSomehow, the above command works in some cases but not others (I still see "X11 forwarding request failed on channel 0"). Do you know how to debug for the cases that do not work? Thanks. -- Regards, Peng