Change SSH Key Passphrase

To change the passhrase of the SSH private key to new password/no password with the below command.

$ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]

If adding a new key, then would need to add in the ~/.ssh/config

Advertisements