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
share
improve this inquiry
monitor
edited Sep 25 "17 at 10:00
*

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

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

2 answers 2


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


re-publishing
boost this answer
follow
edited Sep 25 "17 in ~ 9:43
*

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

IoTMikeIoTMike
5111 silver- badge11 bronze badge
include a comment |
4
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
re-publishing
enhance this answer
follow
edited might 23 "17 in ~ 5:48
answer Sep 6 "12 at 15:01

*

Bart DoeBart Doe
20522 silver- badges66 bronze badges
1
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
related
8
just how to protect against ssh from adding my an essential to ssh-agent on snow Leopard?
139
How can I avoid an SSH session from hanging in OS X Terminal?
0
OS X Lion mysterious user cron job just does echo "PATH is $PATH"
16
ssh -X walk not job-related on Yosemite
8
How have the right to I protect against Mac terminal ssh indigenous disconnecting as soon as the display is immediately turned off?
1
Terminal Crash ~ above Macbook waiting 2011, Mavericks
1
grounding in upgrading PHP version on localhost Mojave
0
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.


lang-sh
Ask different
firm
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.