xshell远程连接出现WARNING! The remote SSH server rejected X11 forwarding request.

解决办法:
1.编辑sshd配置文件 vi /etc/ssh/sshd_config 设置
X11Forwarding yes
UserLogin no //原本的注释解开
2.yum install -y xorg-x11-font
xorg-x11-xauth
3.重新连接xshell

你可能感兴趣的:(xshell远程连接出现WARNING! The remote SSH server rejected X11 forwarding request.)