#AllowAgentForwarding yes AllowTcpForwarding yes #GatewayPorts no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no //网上很多说明这里保持默认不需要修改 #PermitTTY yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes
1.修改SSH配置文件如上
2.安装X11依赖:
yum install -y xorg-x11-xauth #安装x11组件包 yum -y install wqy-zenhei-fonts* #安装中文字库
3.Done
原文:https://www.cnblogs.com/5kyRang3r/p/10982589.html