#2486 Public key not accepted
Closed: Fixed None Opened 13 years ago by openapc.

Hi,

within my account I uploaded my id_rsa.pub. Nevertheless a call

git push ssh://git.fedorahosted.org/git/OpenAPC.git/ master

out of my local GIT repository is still rejected with

Permission denied (publickey).
fatal: The remote end hung up unexpectedly


Hi, is your local username also openapc? If not, try:
{{{
ssh://openapc@git.fedorahosted.org/git/OpenAPC.git
}}}

And failing that, check permissions of your key.

What does ls -l ~/.ssh/ say?

ssh://openapc@git.fedorahosted.org/git/OpenAPC.git

That did the job - thanks!

Does this really work for pushing? The repository has root owner/group. I'm not sure how that could work. It should need a 'chgrp -R gitopenapc /git/OpenAPC.git' I would think.

Oh, and 'chown -R openapc /git/OpenAPC.git' might be nice, for gitweb or any other apps that show the owner based on the directory permissions.

Fixed, looks like whoever set up the repo (I think it was me) forgot a few steps there ;)

Ah well. Fixed and fixed. Should be good.

Login to comment on this ticket.

Metadata