Nov 6, 2017

Adding or changing a SSH key passphrase

Adding or changing a passphrase

You can change the passphrase for an existing private key without regenerating the keypair by typing the following command:
ssh-keygen -p
# Start the SSH key creation process
Enter file in which the key is (/Users/you/.ssh/id_rsa): [Hit enter]
Key has comment '/Users/you/.ssh/id_rsa'
Enter new passphrase (empty for no passphrase): [Type new passphrase]
Enter same passphrase again: [One more time for luck]
Your identification has been saved with the new passphrase.
If your key already has a passphrase, you will be prompted to enter it before you can change to a new passphrase.

Post a Comment

Featured Post


Google Tables helps you search thousands of public Fusion Tables, or millions of public tables from around the web you can import to Fusio...