Add SSH key to OS X Keychain

08/26/2015
  1. When you need to create an SSH key just run: ssh-keygen -t rsa -b 2048 -f keyName
  2. Enter your passphrase to generate your key. Then, add that private key to your OS X keychain for easy use by running:
  3. ssh-add -K /path/of/private/key

This way when you ssh user@host.com your private key will be presented for you on your MacBook and you’ll be all set!

Cheers!