Skip to content

Instantly share code, notes, and snippets.

@coulterpeterson
Created December 11, 2023 14:51
Show Gist options
  • Save coulterpeterson/06ea1b64b7afc320ebefb5e84471abde to your computer and use it in GitHub Desktop.
Save coulterpeterson/06ea1b64b7afc320ebefb5e84471abde to your computer and use it in GitHub Desktop.
Manually Import Private Key Into MacOS
cd ~/.ssh
nano id_rsa
# paste private key into that file, then CTRL-O and CTRL-X to save and exit
chmod 600 id_rsa
ssh-add --apple-use-keychain id_rsa
# Enter SSH password if relevant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment