Agent admitted failure to sign using the key.
Permission denied (publickey).
I got above error while connecting and cloning my git repository. i have spent almost 6 hours to find the solution. finally i found some solution to overcome this issue.
open the terminal and enter this command
and then enter your clone command without sudo option.
git clone firstname.lastname@example.org:/repo.git
please note that account and repo should be change according to your application.
hope some one will get advantage from this post.