How to generate a public key from a private key

Originally appeared on Code with Jason.

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

The post How to generate a public key from a private key appeared first on Code with Jason.


Go to Source of this post
Author Of this post:
Title Of post: How to generate a public key from a private key
Author Link: {authorlink}