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
SSH_AUTH_SOCK=0
and then enter your clone command without sudo option.
git clone git@account.beanstalkapp.com:/repo.git
please note that account and repo should be change according to your application.
hope some one will get advantage from this post.
thank you
thank's a lotttttttt yaar
ReplyDeletethank you! now I need to understand what "SSH_AUTH_SOCK=0" means! =P
ReplyDeleteThanks, it works.
ReplyDeletethanks a lot..it worked
ReplyDeleteThanks a ton
ReplyDeleteHappy coding guys
ReplyDeleteHappy coding guys
ReplyDeleteReally Thanks a lot... i have spent almost 2 hours to find the solution.
ReplyDeletemy god... :)
Thank you so much, it works for me
ReplyDeleteEven when you are doing:
ReplyDeletegit push origin branch_name
and getting the same error
SSH_AUTH_SOCK=0
this works !!!
Thanks
Saurabh
Thanks you very much...
ReplyDeleteThanks, very helpful
ReplyDeleteI was facing the same problem.
ReplyDeleteThis helped for me: http://watchdog.fabwebworld.com/node/1
Hope it will help someone.
Cheers
Thanks! It helped.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi,
ReplyDeleteIt saved my time.
Thanks,
Aashish