So I was on my main system which only has my private keys for some remote servers….and I’m lazy soo, since I needed to deploy a new server, I just used the following command to make a public key from my already existing private key…

ssh-keygen -f ~/.ssh/idrsa -y > ~/.ssh/

NOTE: You can only go private > public, not the other way around.

Found here: encryption – Create a public SSH key from the private key? – Server Fault

Blog Logo

Mario Loria




Because gets old after a while.

Back to Overview