This is probably a stupidly simple question to some :)
I\'ve created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to
I know this is very late to the game ... but this always works for me:
ssh-add ~/.ssh/KEY_PAIR_NAME.pem
ssh user_name@
e.g.
ssh ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com
hope this helps someone.