Monday, July 13, 2020

ssh-key: Changing password

To change the passphrase on your ssh key:

$ ssh-keygen -p -f /home/douglas/.ssh/id_rsa
Enter old passphrase: 
Key has comment ''
Enter new passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved with the new passphrase.

No comments:

Post a Comment