If you have a private RSA key but not its public key, you can generate the public key by running the following.
sh-keygen -y -f ~/.ssh/my-key.pem > ~/.ssh/my-key.pub
Get answers to the 8 most common
Rails testing questions.
If you have a private RSA key but not its public key, you can generate the public key by running the following.
sh-keygen -y -f ~/.ssh/my-key.pem > ~/.ssh/my-key.pub