ssh 隧道远程链接命令 /etc/ssh/sshd_config GatewayPorts =yes ssh -p 22 -qngfNTR "[::]:9988:192.168.220.4:22" root@192.168.220.3 9988 要代理内网192.168.220.4 22的端口号 192.168.220.3 主机ip .请注意 绑定都所有网络接口 "[::]:70:localhost:8888" ,[::] 不能少,否则 只会绑定到 loopback 接口。 posted on 2020-08-05 10:12 全国学渣代表 阅读(263) 评论(0) 编辑 收藏 举报 相关文章: 2021-08-29 2021-08-30 2021-08-20 2021-12-16 2019-08-25 2021-12-05 2021-11-28 2020-02-02