July 13, 2022 . 1 MIN READ
Run the following command to change the passphrase of your SSH key:
You will be prompted to:
Enter your current (old) passphrase
Confirm the key comment (e.g., your email)
Enter a new passphrase (leave empty if you don’t want one)
Re-enter the new passphrase for confirmation
Once completed, your SSH key will be successfully updated with the new passphrase.
Reference:
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases#adding-or-changing-a-passphrase