yuuka_maniaの日記: 踏み台上の鍵を使う ssh_config
日記 by
yuuka_mania
結構難儀したけど、以下でいけた。 nc を使わずにできたら、いいのだけど...
Host desthost
HostName desthost.example.jp
User desthostuser
ProxyCommand ssh -o 'ForwardAgent yes' bastionhost 'ssh-add /foo/bar/key.id_rsa && nc %h %p'
踏み台上の鍵を使う ssh_config More ログイン