웹마짱구의 블로그

728x90

원문 : https://serverfault.com/questions/52285/create-a-public-ssh-key-from-the-private-key

 

Create a public SSH key from the private key?

Let's suppose I have a SSH key, but I've deleted the public key part. I have the private key part. Is there some way I can regenerate the public key part?

serverfault.com

 

$ ssh-keygen -f ~/.ssh/id_rsa -y > ~/.ssh/id_rsa.pub