XShell连接CentOS报错解决方案:WARNING! The remote SSH server rejected X11 forwarding request.
一、报错情况
WARNING! The remote SSH server rejected X11 forwarding request。
二、解决方案
(1)编辑文件:/etc/ssh/sshd_config,设置:X11Forwarding yes
(2)配置Xshell 6连接属性,如下图,取消勾取即可:
一、报错情况
WARNING! The remote SSH server rejected X11 forwarding request。
二、解决方案
(1)编辑文件:/etc/ssh/sshd_config,设置:X11Forwarding yes
(2)配置Xshell 6连接属性,如下图,取消勾取即可: