通过堡垒主机(跳转主机)进行 SSH
有人能给我一个一行 ssh 命令,它可以通过堡垒主机(跳转主机)连接到远程主机吗?我对更新 ssh 配置不感兴趣。 我尝试了下面的命令,但没有用。如果能对下面的命令进行任何修正,我将不胜感激。 ssh -i remote.pem user@remote -o "ProxyCommand ssh -W %h:%p -i bastion.pem user@bastion" 以下是确切的错误详细信息: $ ssh -i key user@remote -o "ProxyCommand ssh -W %h:%p -i key user@bastion" -...