DEV Community

Linlee
Linlee

Posted on

useful ssh-keygen tips

useful ssh-keygen tips

sshkeygen
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)