Monday, April 17, 2017

Generating public keys from a SSH private key

If you just need to generate a Public Key from SSH Private Key, you will need to
# ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
where  -y output the public key

References:
  1. How do I retrieve the public key from a SSH private key?

No comments: