Solve github ssh key Agent admitted failure to sign using the key. Permission denied (publickey).

Today, I change my ssh key and I see this error when pushing commit into my Github repository :


Agent admitted failure to sign using the key.
Permission denied (publickey).

So, to solve this problem is pretty easy :


ssh-add ~/.ssh/id_rsa

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>