Changing an SSH private key passphrase with ssh-keygenEdit
$ ssh-keygen -p -f .ssh/id_dsa
Note this works for adding a passphrase to an unencrypted key, and also for removing a passphrase from an encrypted key.
Alternatively, change or remove the passhprase on the default key with:
$ ssh-keygen -p