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