Closed dmcd closed 6 years ago
I remembered that I need to ssh in one single command to use ForwardAgent correctly: i.e.
Host bastion
HostName <bastion-ip>
Port 1234
User dmcd
ForwardAgent yes
StrictHostKeyChecking no
and then:
ssh -t bastion ssh ec2-user@x.x.x.x
Is it possible to use this bastion as a forwarding agent when supplying a private key to the destination host? I can't seem to get the following to work?