First, move your private key file into ~/.ssh
. This is not strictly necessary but it’s the standard place for such things.
Then run ssh-add -K ~/.ssh/privateKey.txt
. It’ll prompt for your passphrase if necessary, then add it to your Keychain.
After that, you shouldn’t have to do anything else. A slightly longer explanation is available here.