-
vscode remote
關於vscode 的遠程連接參見《VS Code Remote Development》
-
通過跳板機
上述提到的方式是直接連接,如果需要使用跳板機,其他方面都一樣,除了配置文件需要多加一行。參見:
ProxyCommand "OpenSSH安裝路徑"\ssh.exe -q -W %h:%p "跳板機"
which means run ssh in quiet mode (using -q) and in stdio forwarding(using -w) mode, redirect the connection through an intermediate host(跳板機)。
-
ProxyCommand
-
References
- How to Access a Remote Server Using a Jump Host
- [OpenSSH/Cookbook/Proxies and Jump Hosts](OpenSSH/Cookbook/Proxies and Jump Hosts )