How to create a public key(id_rsa.pub) from private key(id_isa)?

ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub

-f filename Specifies the filename of the key file.
-y This option will read a private OpenSSH format file and print an OpenSSH public key to stdout.

Leave a Reply

Your email address will not be published.