ssh-keygen -y -f ~/.ssh/id_ecdsa > ~/.ssh/id_ecdsa.pub
If the private key is encrypted with a passphrase, you will be prompted to enter the passphrase. Enter it.
Recommended Posts