-
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(跳板机)。
-
Pro
VSCode通过跳板机远程连接服务器
最新推荐文章于 2024-08-13 16:17:11 发布