Xshell报错“The remote SSH server rejected X11 forwarding request.”

Posted F

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Xshell报错“The remote SSH server rejected X11 forwarding request.”相关的知识,希望对你有一定的参考价值。

 

xshell连接centos7,报错:“The remote SSH server rejected X11 forwarding request.”

 

打开文件/etc/ssh/sshd_config,修改下面的参数

X11Forwarding yes

如果有,那就不用修改

 

修改xshell连接属性

 

把勾选去掉即可!

 

参考:https://blog.csdn.net/salonzhou/article/details/16358711

以上是关于Xshell报错“The remote SSH server rejected X11 forwarding request.”的主要内容,如果未能解决你的问题,请参考以下文章