系统相关
首页 > 系统相关> > XShell出现WARNING!The remote SSH server rejected X11 forwarding request

XShell出现WARNING!The remote SSH server rejected X11 forwarding request

作者:互联网

XShell出现WARNING!The remote SSH server rejected X11 forwarding request

问题描述

使用XShell6连接CentOS7时,一直出现WARNING!The remote SSH server rejected X11 forwarding request的问题,如下所示:

WARNING! The remote SSH server rejected X11 forwarding request.
Last login: Wed Oct  7 23:30:50 2020 from 192.168.174.1
[root@localhost ~]# 

解决办法

检查 xorg-x11-xauth 的rpm包是否安装,未安装则进行下面操作

[root@localhost ~]# yum -y install xorg-x11-xauth

完成以上操作后,一定要断开终端连接,重新进入即可。

标签:remote,request,rejected,WARNING,X11,forwarding
来源: https://www.cnblogs.com/xianbeier/p/13780063.html