我使用以下命令来设置反向隧道:
ssh -i dev.pem -vvv -R 8480:localhost:8080 user@host.com "sleep 6000"
最终发生的是 ssh 开始侦听 lo 设备,而不是在 eth0 设备上(绑定到 127.0.0.1 而不是删除公共 ip)。
有什么线索可以改变这种行为吗?
networking ssh unix tunnel
networking ×1
ssh ×1
tunnel ×1
unix ×1