Home » Questions » Computers [ Ask a new question ]

How do I get OS X's Keychain to remember my github rsa key?

How do I get OS X's Keychain to remember my github rsa key?

I've created an RSA key with a non-default key name: github_id_rsa. In order to not get the error "Permission denied (publickey)" when trying to push to or pull from Github I have to issue the command ssh-add github_id_rsa; however, this is not persistent. What do I need to do to get Keychain to remember this RSA key and to remember the passphrase?

Asked by: Guest | Views: 282
Total answers/comments: 1
bert [Entry]

Turns out instead of using ssh-add github_id_rsa, I just needed to use ssh-add -K github_id_rsa in order to add the identity and passphrase to my keychain.