连接工具:Xshell 6
系统环境:腾讯云服务器 公共镜像CentOS 7.4
Xshell 6 连接时报错 “The remote SSH server rejected X11 forwarding request.”
虽然成功连接进去服务器,但是报错就很不爽,一定要解决。
- 解决措施 1
yum install xorg-x11-xauth -y
安装好后重启服务器即可,再次连接后无错误提示。 - 解决措施 2
关闭SSH隧道中 X11 Forwarding选项即可

本文介绍使用Xshell6连接腾讯云服务器CentOS7.4时出现的“TheremoteSSHserverrejectedX11forwardingrequest.”错误及两种解决方法。一种是通过安装xorg-x11-xauth并重启服务器;另一种则是直接关闭SSH隧道中的X11Forwarding选项。
连接工具:Xshell 6
系统环境:腾讯云服务器 公共镜像CentOS 7.4
Xshell 6 连接时报错 “The remote SSH server rejected X11 forwarding request.”
虽然成功连接进去服务器,但是报错就很不爽,一定要解决。
yum install xorg-x11-xauth -y
您可能感兴趣的与本文相关的镜像
Stable-Diffusion-3.5
Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率
1196
946
956
2604
6944