【xshell】win 10:xshell 连接 CentOS 报错解决:WARNING! The remote SSH server rejected X11 forwarding request.

目录

一、报错情况

二、解决方案



一、报错情况

WARNING! The remote SSH server rejected X11 forwarding request.

【xshell】win 10:xshell 连接 CentOS 报错解决:WARNING! The remote SSH server rejected X11 forwarding request._第1张图片



二、解决方案

(1)编辑文件:/etc/ssh/sshd_config,设置:

X11Forwarding yes

【xshell】win 10:xshell 连接 CentOS 报错解决:WARNING! The remote SSH server rejected X11 forwarding request._第2张图片


(2)配置Xshell 6连接属性,如下图,取消勾取即可:

【xshell】win 10:xshell 连接 CentOS 报错解决:WARNING! The remote SSH server rejected X11 forwarding request._第3张图片

【xshell】win 10:xshell 连接 CentOS 报错解决:WARNING! The remote SSH server rejected X11 forwarding request._第4张图片

你可能感兴趣的:(#,远程连接管理)