Remove SSH Private Key Passphrase

To remove SSH private key passphrase, run

ssh-keygen -p -f SSH_PRIVATE_KEY_FILE

Example

ssh key passphrase

Method 2

You can use OpenSSL to remove passphase with

openssl rsa -in PRIVATE_KEY_WITH_PW.key -out PRIVATE_KEY_NO_PW.key

See SSH

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *