解决办法:
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.
最新推荐文章于 2025-06-04 13:49:27 发布