ssh-copy-id 复制公钥
ssh-copy-id -i 公钥 username@remote-server
VSCode Remote ssh跳板机配置
Host JumpMachine# 跳板机的ip地址HostName A# 你跳板机的用户名User username# 跳板机登录端口Port 22Host TargetMachine# 目标机的ip地址HostName B# 你目标机的用户名User username# 目标机登录端口Port 8080ProxyCommand "openssh的安装路径"\ssh.exe -W %h:%p JumpMachine# example
