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

☆樱花仙子☆ 提交于 2019-11-26 17:12:08

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!