Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .