Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Trying out gitorious I hit a road-block in the form of this error message:

Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Found a workaround here, and will post it as an answer shortly.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

So, as mentioned here the workaround (or maybe this is the standard protocol?) is to use ssh-add.

$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/adam/.ssh/id_rsa:

After doing that, the following command uploaded the files to the remote repository:

$ git push origin master
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.