以下の内容はhttps://takuya-1st.hatenablog.jp/entry/2021/12/23/180008より取得しました。


ssh/rsyncで`Warning: No xauth data; using fake authentication data for X11 forwarding.`

rsyncssh でwarning が出るようになった。

Warning: No xauth data; using fake authentication data for X11 forwarding.

原因

~/.ssh/config にX11の設定をしている
xauth のPATHがわからない。~/.Xauthorityがない

対応1

x11 の設定を消す。(XQuratz)を使わないのであれば。

Host sever-1
    Hostname 192.168.2.5
    #ForwardX11 yes
    #ForwardX11Trusted yes
    #XAuthLocation /opt/X11/bin/xauth

対応2

X11を使うなら、.Xauthority の設定をやり直す。

rm  ~/.Xauthority*
open -a XQuartz.app
xauth generate $DISPLAY
ls  .Xauthority*
echo $DISPLAY

設定をやり直す。

~/.ssh/config

Host sever-1
    Hostname 192.168.2.5
    ForwardX11 yes
    ForwardX11Trusted yes
    XAuthLocation /opt/X11/bin/xauth

参考資料

https://sonotaropp.hatenablog.com/entry/2019/07/22/154545




以上の内容はhttps://takuya-1st.hatenablog.jp/entry/2021/12/23/180008より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14