Remove Passphrase from SSH Key ssh-keygen -p One-liner with no prompts. ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile] References How do I remove the passphrase for the SSH key without having to create a new key? How to manage passphrase of an SSH key