Skip to Content

Creating a public rsa key when you already have a private one

Posted on One min read

To create a public rsa key using a private one, simply type:

$ ssh-keygen -y -f /path/to/private_rsa > /path/to/public_rsa

Note that it is not adding [email protected], so if you need it, add this in the end of public_rsa file with a leading space symbol

comments powered by Disqus