【問題描述】
首次xshell通過ssh登錄CentOS7報warning捉蚤,提示信息:
/usr/bin/xauth: file /root/.Xauthority does not exist
報錯截圖
【問題分析】
新服務(wù)剛安裝好怎棱,在root下沒有這個隱藏文件導(dǎo)致程剥。
實際上是可以自己自動重建的,也就是雖然有此提示泥彤,但在提示完后也自動創(chuàng)建了這個文件。
image.png
【解決方案】
ls -al ~/.Xauthority查看系統(tǒng)是否自動創(chuàng)建。
若已創(chuàng)建柴罐,重新登錄即可;若無創(chuàng)建憨奸,則手動創(chuàng)建即可革屠;