ssh ProxyCommand

来源:互联网 发布:马佳佳 知乎 编辑:程序博客网 时间:2024/05/17 03:53

User root

Host qdgwbn

HostName 222.173.108.10

Host qdgwbn-web
HostName 10.5.5.116

ProxyCommand ssh qdgwbn nc %h %p 2> /dev/null




#建立qdgwbn-web  服务器443端口到本地8443端口隧道。

#ssh -L8443:127.0.0.1:443 qdgwbn-web  


原创粉丝点击