I get Warning: No xauth data; using fake authentication data for X11 forwarding.
when I do ssh to other machines from my OS X machine which has X-server installed.
echo $DISPLAY
returns something like /tmp/launch-4eEyr6/org.macosforge.xquartz:0
Inside ~/.ssh/config
I specified XAuthLocation xauth
but I still get the errors.
If I replace the line with full path to xauth (/opt/X11/bin/xauth
), I stop getting the errors but the problem is that I do share the ssh config file between several machines, so I cannot put a path that is specific to Mac on it.
I would prefer a solution that would not require me to create a symlink on Mac from /opt/X11/bin/xauth
to /usr/bin/xauth
.