Warning: No xauth data; using fake authentication data for X11 forwarding
<p>I have an unfortunate problem when making ssh connections from Fedora 23 to Centos 7. The commands <code>ssh -X user@centos7</code> and <code>ssh -Y user@centos7</code> both print <strong>Warning: No xauth data; using fake authentication data for X11 forwarding.</strong></p>

<p>Googling shows to add the following lines to /etc/ssh/ssh_config:</p>

<pre><code>Host *
    ForwardX11Trusted yes
    ForwardAgend yes
    ForwardX11 yes
</code></pre>

<p>But this didn't make the warning message go away.</p>