I recently reinstalled my laptop and found that 'git clone' wasn't working. I was consistently receiving Permission denied (publickey).
errors.
The fix is documented on GitHub's SSH issues page: use ssh-add
to tell SSH about the key I want to use to authenticate on GitHub.
My question is: under the hood, what does ssh-add
actually do?
I've been meaning to expand my understanding of SSH for a while, & this seems like a good excuse to start :-)