mercredi 10 avril 2019
ssh-agent
Par Arnaud Charlier, mercredi 10 avril 2019 à 22:57 :: Linux et Debian
In order to use the ssh-key in Bastion and leap-frog to protected server
Make sure the ssh agent is runningeval `ssh-agent -s`then add your key
ssh-add -k your-key.pem ssh-add -LThen use the ssh agent
ssh -A ec2-user@your-iphttps://www.daveeddy.com/2017/10/18/persistent-sshagent-on-bash-on-ubuntu-on-windows/ https://medium.com/@crishantha/handing-bastion-hosts-on-aws-via-ssh-agent-forwarding-f1d2d4e8622a