Store SSH Passphrase in Mac OS Keychain

This is a quick tip to get your Mac to stop asking  for your SSH keyphrase using Git commands every time you use it.

Recently I changed my SSH keys and my mac would not stop asking me for the passpharse at every Git Push.  I push regularly and so I wanted to streamline this.

The solution for me was simple.  I just opened the config text file in the .ssh directory and added the following.

Host *
UseKeychain yes

Next I went back and pushed to Github again.  This time when it asked me for my passphrase, it stored it correctly in keychain.