1

I cloned a repository with the clone command successfully. BUT, I tried to push after commit and I get this error.

$ git push [email protected]:taraloca/QuitIt.git Permission denied (publickey). fatal: The remote end hung up unexpectedly

Any ideas?

1 Answer 1

3

If it's a public repo, anyone can clone, however a key is required to push. This key provides authentication, and tells Github that you are allowed to push to that repo.

Instructions located here http://help.github.com/msysgit-key-setup/

Sign up to request clarification or add additional context in comments.

1 Comment

Yep, the error message Permission denied (publickey) is indicating that you don't have your authentication key configured correctly (or not at all).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.