文件位置
/etc/ssh/sshd_conf
AllowAgentForwarding yes
AllowTcpForwarding yes
X11Forwarding yes
UseLogin no
GatewayPorts yes
配置完成后重启ssh
service sshd restart
然后配置 xshell 的 属性
链接>ssh>隧道
添加转移规则
类型 remote
原主机 0.0.0.0 (所有来源)
原端口号 linux服务器开发访问的端口号 比如9080
目标主机 localhost或者局域网内其他电脑
目标端口号 本地服务器tomcat的端口号
X11转移
转发X11到XManager勾选
xshell 每次使用完成后 ,必须用正确的命令退出, exit
安装nginx
https://www.cnblogs.com/kaid/p/7640723.html
nginx 配置同一个端口不同域名代理不同服务
https://www.cnblogs.com/powerwu/articles/9695599.html