macOS: Passphrase for SSH keys

Mainly as a reminder for myself, here is what to do so that macOS doesn’t always ask for your SSH key passphrase.

Add the following to ~/.ssh/config

Host *
   AddKeysToAgent yes
   IdentityFile ~/.ssh/id_rsa
   UseKeychain yes

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.