Xshell报错“The remote SSH server rejected X11 forwarding request.”
1.首先修改配置文件1.1远程主机是OpenSSH编辑/etc/ssh/sshd_config,设置X11Forwardingyes1.2远程主机是SSH.COM编辑/etc/ssh2/sshd2_config,设置AllowX11Forwardingyes2.配置Xshell连接属性如果还是无法解决的话,配置Xshell的连接属性,进入Connetion->SSH->Tunneling,关闭默认