. Advertisement .
..3..
. Advertisement .
..4..
I get the error message:
$ git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.132' to the list of known hosts.
! Your key with fingerprint b7:fd:15:25:02:8e:5f:06:4f:1c:af:f3:f0:c3:c2:65 is not authorized to access bitstarter.
$ ssh-add ~/.ssh/id_rsa.pub
Could not open a connection to your authentication agent.
Has anyone ever faced this problem? How to troubleshoot could not open a connection to your authentication agent.
The cause: The ssh-agent is not running.
Solution: We need to start the
ssh-agent
before we usessh-add
If you are usingzsh
on Ubuntu or Mac the following is the suggestion:You could also try the following if the above doesn’t work on your system:
Bash
Zsh
Fish
Another solution
Shutdown your computer and restart it. If you don’t feel like restarting you will use the first command provided.
Did you start
ssh-agent
?Before you can run
ssh-add
, you might need to restartssh-agent
.This will launch the msysgit Bash agent on Windows. You might need to use another shell or operating system in order to execute the command.
These are the answers:
You can automatically start ssh agent and have one instance work in multiple console windows. See Start SSH-Agent on Login.