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/idrsa.pub

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


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview