Sample Header Ad - 728x90

How to prevent warnings like No xauth data when doing ssh from OS X to other machines?

4 votes
2 answers
11087 views
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.
Asked by sorin (31160 rep)
Apr 13, 2012, 01:47 PM
Last activity: Sep 25, 2017, 10:00 AM