November 2007
Beginner
642 pages
15h 43m
English
You want to change the passphrase on one of your private keys.
Use the -p switch with the
ssh-keygen command:
$ ssh-keygen -p -f ~/.ssh/id_dsa
Enter old passphrase:
Key has comment '/home/pinball/.ssh/id_dsa'
Enter new passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved with the new passphrase.Passphrases are not recoverable. If you lose a passphrase, your only option is to create a new key with a new passphrase.
man1ssh-keygen
Read now
Unlock full access