ssh-keygen -p -f ~/.ssh/id_rsa

Category: SSH & Remote

ssh-keygen -p -f ~/.ssh/id_rsa

Change the passphrase of an existing key

Changes the passphrase protecting an existing private key without changing the key itself.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.