201117-MacOS上通过VsCode配置跳板机连接服务器

Remote SSH: Tips and Tricks

# Jump box with public IP address
Host <HUST>
    HostName <xxx.xxx.xxx.xxx>
    User <user_name>
    IdentityFile /Users/<user_name>/.ssh/id_rsa

# Target machine with private IP address
Host <Titan>
    HostName <xx.xx.xx.xxx>
    User <user_name>
    IdentityFile /Users/<user_name>/.ssh/id_rsa
    ProxyCommand ssh -q -W %h:%p <HUST>
已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页