通过跳板机连接远程主机
xftp
vscode
Ctrl+Shift+P
→ Remote-SSH Open SSH Configuration File …
打开本地的ssh配置文件 C:/user/name/.ssh/config
# 跳板机配置
Host jump-hostHostName 10.152.61.94User rootPort 62222 IdentityFile C:/Users/vin0sen/.ssh/id_rsa# 目标服务器配置
Host n150-ubuntuHostName 192.168.2.165User rootPort 22IdentityFile C:/Users/vin0sen/.ssh/id_rsaProxyJump jump-host # 使用跳板机连接