I obtain Warning: No xauth data; utilizing fake authentication data for X11 forwarding. As soon as I carry out ssh to other devices from mine OS X maker which has X-server installed.

You are watching: Warning: no xauth data; using fake authentication data for x11 forwarding.

echo $DISPLAY return something choose /tmp/launch-4eEyr6/org.macosforge.xquartz:0

Inside ~/.ssh/config I specified XAuthLocation xauth yet I still get the errors.

If I change the heat with full path come xauth (/opt/X11/bin/xauth), i stop acquiring the errors yet the difficulty is the I carry out share the ssh config record between numerous machines, so i cannot placed a course that is particular to Mac on it.

I would favor a solution that would not need me to develop a symlink top top Mac indigenous /opt/X11/bin/xauth to /usr/bin/xauth.

macos command-line ssh xserve
improve this inquiry
edited Sep 25 "17 at 10:00

212k7373 yellow badges376376 silver badges813813 bronze badges
request Apr 13 "12 in ~ 13:47

25.8k6363 yellow badges157157 silver badges231231 bronze badges
add a comment |

2 answers 2

energetic earliest Votes
Put XAuthLocation=/opt/X11/bin/xauth in /etc/ssh/ssh_config.

boost this answer
edited Sep 25 "17 in ~ 9:43

179k4242 yellow badges308308 silver badges423423 bronze badges
answer Sep 25 "17 at 9:37

5111 silver- badge11 bronze badge
include a comment |
I see it"s an old question but for the services of Google, below is my answer.

See more: Heritage Funeral Home Warner Robins Ga, Warner Robins, Georgia Obituaries

On the Mac, girlfriend can create an alias in ~/.bashrc favor so:

alias ssh="ssh -o "XAuthLocation=/opt/X11/bin/xauth""If you additionally share the .bashrc throughout both OS X and other unixy machines, you could add a tiny stanza to the .bashrc as follows:

if < `uname` == "Darwin" >; then alias ssh="ssh -o "XAuthLocation=/opt/X11/bin/xauth""fi
enhance this answer
edited might 23 "17 in ~ 5:48
answer Sep 6 "12 at 15:01


Bart DoeBart Doe
20522 silver- badges66 bronze badges
add a comment |

You have to log in to answer this question.

Not the answer you're looking for? Browse other questions tagged macos command-line ssh xserve .

The Overflow Blog
Featured ~ above Meta
just how to protect against ssh from adding my an essential to ssh-agent on snow Leopard?
How can I avoid an SSH session from hanging in OS X Terminal?
OS X Lion mysterious user cron job just does echo "PATH is $PATH"
ssh -X walk not job-related on Yosemite
How have the right to I protect against Mac terminal ssh indigenous disconnecting as soon as the display is immediately turned off?
Terminal Crash ~ above Macbook waiting 2011, Mavericks
grounding in upgrading PHP version on localhost Mojave
has actually Catalina damaged the logging into external machines?
hot Network concerns an ext hot questions
inquiry feed
i ordered it to RSS
concern feed To subscribe to this RSS feed, copy and also paste this URL into your RSS reader.

Ask different
stack Exchange Network
site design / logo design © 2022 stack Exchange Inc; user contributions license is granted under cc by-sa. Rev2021.12.22.41046

to apologize is a trademark of tastecraftedmcd.com Inc., registered in the US and also other countries. This site is not affiliated through or endorsed by tastecraftedmcd.com Inc. In any way.
Ask different works best with JavaScript permitted

your privacy

By clicking “Accept all cookies”, friend agree ridge Exchange can store cookies on your maker and disclose details in accordance v our Cookie Policy.