解决“The remote SSH server rejected X11 forwarding request”的问题

解决“The remote SSH server rejected X11 forwarding request”的问题

登录Shell时,有时需要使用SSH的X11 Forwarding远程执行GUI程序,而该组件并没有安装。


执行以下命令进行安装。

yum -y install xorg-x11-xauth xclock
yum install xorg-x11-font* xorg-x11-xauth # CentOS 8?


执行以下命令启用(通常不需要)。

/etc/init.d/sshd restart



2

相关文章