Remove passpharse for SSH key without create a new key

$ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]

[email protected]:~$ ssh-keygen -p -P 123456 -N “” -f ~/.ssh/id_rsa
Key has comment ‘/home/nhanpt5/.ssh/id_rsa’
Your identification has been saved with the new passphrase.

$ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile] [email protected]:~$ ssh-keygen -p -P 123456 -N “” -f ~/.ssh/id_rsa Key has comment ‘/home/nhanpt5/.ssh/id_rsa’ Your identification has been saved with the new passphrase.

Leave a Reply

Your email address will not be published.