Permission denied (publickey). fatal: The remote end hung up unexpectedly

Even if you run

ssh-add .ssh/id_rsa

Could not open a connection to your authentication agent.

The fix was to run

 exec ssh-agent bash

in the terminal,
then run the 1st command again command to add my key file. Thanks to chamstar for answering his own question here:


I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Posted in Github

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: