Once you’ve found the private key you want to make a public key for (typically in ~/.ssh/ ), here’s the quick and easy command (in this example, we’re making a .pub for our id_rsa key):
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
A place to put my thoughts…
Once you’ve found the private key you want to make a public key for (typically in ~/.ssh/ ), here’s the quick and easy command (in this example, we’re making a .pub for our id_rsa key):
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub