xshell6 远程连接时提示 WARNING! The remote SSH server rejected X11 forwarding request.

1、输入命令 vi /etc/ssh/sshd_config ,修改配置文件

2、将UserLogin no 的注释解除

 

 3、执行yum install -y xorg-x11-font xorg-x11-xauth 命令

4、重启xshell

猜你喜欢

转载自www.cnblogs.com/tianyingz/p/11672394.html