SSH Key -- Converting PEM to PUB
I'm using a code editor called Espresso on Mac that has a built in SFTP feature but doesn't like using .pem keys. Instead, it looks for the keyfile to be ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub. My .pem file is currently at ~/.ssh/TTS.pem. I'm trying to connect to an instance on Amazon EC2 which generated that TTS.pem private key file.
I tried renaming my key from TTS.pem to id_rsa.pub and although I can connect just fine using this renamed key in Terminal, Espresso still doesn't like it. I contacted their support and they told me to regenerate new keys instead of renaming .pem's. Could that have an impact on this?
To generate new keys, can I just run the ssh-keygen command on my Mac and upload/set the generated public key using AWS Management Console?
Linux User: #517609
Ubuntu User: #32468