最近用xshell连接远程主机的时候提示 :
The remote SSH server rejected X11 forwarding request

解决方法:

yum install xorg-x11-font* xorg-x11-xauth

vim /etc/ssh/sshd_config

X11Forwarding yes
UseLogin no

UseLogin 可能这一行最开始是被注释,去掉注释即可

标签: none

添加新评论