Jump to content

3.出現訊息The remote SSH server rejected X11 forwarding request


Recommended Posts

-------------------------------------------------------------------------
如果SSH出現以下訊息
WARNING! The remote SSH server rejected X11 forwarding request.
-------------------------------------------------------------------------

需要安装 xorg-x11-xauth
yum -y install xorg-x11-xauth
 

安裝完畢後登出
exit

 

再SSH登入,這次顯示
/usr/bin/xauth:  file /root/.Xauthority does not exist

 

再登出
exit

 

再SSH登入
Last login: Fri May  1 09:20:51 2020 from 你的IP
這次就沒有警告訊息了

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...