xshell没有ssh_config 可以用,因此与vscode略有不同 1. 跳板机配置(跳板机要连着,作为端口转发——代理服务器) 配置端口转发(tunnel): 2. 目标主机配置 配置代理服务器: 注意这里要写本地的IP。