Persistent ssh Keys for Mac

Al Jachimiak
Today I Googled
Published in
1 min readJan 4, 2017

What I Googled:

make ssh key load eveytime for mac

What I Was Doing:

I just got a new MacBook Pr0 (15", 2016) and I needed to clone a private github repository. I had already created a new ssh key for the machine but I was still presented with `username for https://github.com` at the terminal.

Solution:

The first link on google said to try this, and it did not work:

$ ssh-add -K [path/to/private SSH key

Eventually I found a link to that said to add the identity file to the `~/.ssh/config` file.

--

--