DEV Community

Jun Sumida
Jun Sumida

Posted on

useful ssh-keygen tips

generates a public key from a secret key

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

generates fingerprints from a public key

ssh-keygen -l -E md5 -f ~/.ssh/id_rsa.pub

changing passphrase

ssh-keygen -p -f ~/.ssh/ssh_key.pem

Top comments (0)