Generate SSH Public Key from Private Key (draft)
Using ssh-keygen, a public key can be generated from a private key.
ssh-keygen -f ~/.ssh/id_rsa -y > ~/.ssh/id_rsa.pub
The -y option reads a private OpenSSH format file and print an OpenSSH public key to stdout.
●