Skip to content

Instantly share code, notes, and snippets.

@jcpst
Created June 24, 2015 20:13
Show Gist options
  • Save jcpst/3f3ab560923803c1547c to your computer and use it in GitHub Desktop.
Save jcpst/3f3ab560923803c1547c to your computer and use it in GitHub Desktop.
Remove passphrase from ssh key
#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