Created
June 24, 2015 20:13
-
-
Save jcpst/3f3ab560923803c1547c to your computer and use it in GitHub Desktop.
Remove passphrase from ssh key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#From: http://www.thinkplexx.com/learn/howto/security/ssl/remove-passphrase-password-from-private-rsa-key | |
openssl rsa -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa_new | |
cp ~/.ssh/id_rsa ~/.ssh/id_rsa.backup | |
rm ~/.ssh/id_rsa | |
cp ~/.ssh/id_rsa_new ~/.ssh/id_rsa | |
chmod 400 ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment