#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