ssh 建立反向隧道

2019-04-12  本文已影响0人  wwei0807

ssh -NfR romote:port:localhost:port  aws

如果romote为0.0.0.0,则需要在服务器aws上编辑/etc/ssh/sshd_config:

GatewayPorts  yes

重启sshd

上一篇 下一篇

猜你喜欢

热点阅读