So, I use git and github with MFA, so, to avoid annoying password asking, for more than a year I am using the
name = Carlos Alexandro Becker
email = email@example.com
helper = osxkeychain
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
$ ssh-add ~/.ssh/id_rsa.pub
Could not open a connection to your authentication agent.
$ ssh-agent sh -c 'ssh-add ~/.ssh/id_rsa.pub'
Enter passphrase for /Users/carlos/.ssh/id_rsa.pub:
Seems like something went wrong with my
I tried to stop it (with
kill -9) and start it again (with
ssh-agent), but it wouldn't fix the problem.
After I ran
eval 'ssh-agent -s' it all started to work as expected again.
Still I have no idea why this happened..