Why windows from 2nd server can not be shown when an intermediate ssh server is used?

Darren Tucker dtucker at zip.com.au
Mon Mar 13 11:19:09 AEDT 2017


On Mon, Mar 13, 2017 at 3:18 AM, Peng Yu <pengyu.ut at gmail.com> wrote:
> Suppose I have three linux servers A, B and C.
>
> On A, I run `ssh -Y B` to login to B (programs using windows on B can
> be shown on A). Then, I login to C from B using the command `ssh -Y
> C`. But, programs in can not show windows on A.
>
> Does anybody know how to let A show windows from C? Thanks.

My guess is that C either has X11Forwarding disabled in its
sshd_config or it does not have the xauth binary (or it's not where
sshd expects and XAuthLocation is not set).

If those are not the case please post a debug log from the client on B
(ie ssh -Y into B then ssh -vvv C".

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list