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
原文地址:https://www.cnblogs.com/sea-stream/p/10390283.html
时间: 2024-11-08 04:02:54