sshで踏み台認証

configに以下の設定をする

Host bastion01
    HostName 54.65.81.XXX
    User *****
    Port 55222
    StrictHostKeyChecking no
    IdentityFile ~/.ssh/id_rsa
Host 10.91.22.*
  User *****
  IdentityFile ~/.ssh/id_rsa
  ProxyCommand ssh -q bastion01 nc %h %p

コマンドの場合

ssh -o ProxyCommand="ssh -W %h:%p user@13.114.125.XX" user@10.141.158.XX