Created
July 7, 2017 08:08
-
-
Save MoritzBuetzer/6ed530db243915f4e74fe9dda9c03c9a to your computer and use it in GitHub Desktop.
Remove passphrase from ssh key
This file contains hidden or 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
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