Convert a pem file into a rsa private key
When you build a server in AWS one of the last steps is to either acknowledge that you have access to an existing pem file, or to create a new one to use when authenticating to your ec2 server.
If you want to convert that file into an rsa key that you can use in an ssh config file, you can use this handy dandy openssl command string.
openssl rsa -in somefile.pem -out id_rsa
Note: **you do not** have to call the output file
id_rsa, you will want to make sure that you don't overwrite an existing
file to your .ssh directory and make sure to change permissions on the
key to read only for just your user.
chmod 400 ~/.ssh/id_rsa