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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.