I created a new keypair and downloaded it to my mac, then set up a new Amazon Linux AMI server with that keypair and my security group. Now I need to put the keypair .pem file t
you can also create a file ~/.ssh/config chmod it 644 then inside you can add something like this
host mybox-root Hostname [the IP or dns name] User root IdentityFile ~/.ssh/[your keypair here]
then you can just do
$ ssh mybox-root
and you'll login easier.