ssh -X remote does not work due to problem with xauth
freebsd-questions-local at be-well.ilk.org
Wed May 9 19:47:18 UTC 2018
Matthias Apitz <guru at unixarea.de> writes:
> El día miércoles, mayo 09, 2018 a las 02:18:36p. m. -0000, Christian Weisgerber escribió:
>> On 2018-05-09, Matthias Apitz <guru at unixarea.de> wrote:
>> > When I launch 'ssh -X remote host' to get X11 forwarded to my workstation
>> > this does not work, i.e. does not produce a DISPLAY env on the remote
>> > host and says:
>> Is X11Forwarding enabled in /etc/ssh/sshd_config on the remote host?
>> > $ ssh -X apitzm at srap16dxr1
>> > Warning: untrusted X11 forwarding setup failed: xauth key data not generated
>> That's exactly the error you get if X11Forwarding is off on the
>> remote host.
> X11Forwarding is definitely enabled on the remote server. Other users in
> my company network who are coming from Ubuntu workstations to the same
> server do not face this problem.
Have you tried increasing the verbosity on the ssh session?
And if possible, on the sshd at the other end?
More information about the freebsd-questions