How to ssh to a server via an intermediate server with X11 forwarding?
Peng Yu
pengyu.ut at gmail.com
Sat Jul 18 13:24:52 AEST 2015
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 work
Somehow, 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
More information about the openssh-unix-dev
mailing list