Get public key for authorized_keys from ssh private key
Because I keep searching this.
ssh-keygen -y -f ~/.ssh/id_rsa > ~/new-file-suitable-for-adding-to-authorized_keys
References
- Ripped straight from command line - How do I retrieve the public key from a SSH private key? - Ask Ubuntu
Comments