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
#How to remove your SSH public/private keys, recreate them, and then add your newly created public key to the servers and online services you use. | |
#Remove your SSH public/private keys: | |
rm ~/.ssh/id_rsa* | |
#Recreate the keypair, choosing a new passphrase: | |
ssh-keygen -t rsa -f ~/.ssh/id_rsa | |
#Add the newly created private key to your OS X Keychain to store the passphrase and manage unlocking it automatically: | |
ssh-add -K ~/.ssh/id_rsa |