ssh -X remote does not work due to problem with xauth

Steve O'Hara-Smith steve at
Wed May 9 13:11:18 UTC 2018

On Wed, 9 May 2018 12:47:00 +0200
Matthias Apitz <guru at> 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:
> $ ssh -X apitzm at srap16dxr1
> Warning: untrusted X11 forwarding setup failed: xauth key data not
> generated Last login: Wed May  9 12:37:17 2018 from
> apitzm at srap16dxr1:~>


> Any ideas?

	Possible workaround - ssh -Y.

Steve O'Hara-Smith <steve at>

More information about the freebsd-questions mailing list