Greetings --
I am trying to push my ks file to my hosted git repo ssh://git.fedorahosted.org/git/netizen.git
I tried initializing the repo by pushing the master first:
git push ssh://git.fedorahosted.org/git/netizen.git master
But received the following error:
= bug description =
Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
At your earliest convenience, please advise in what I need to do on my end, if necessary, for pushing my initial ks file to my new repo.
Thanks in advance,
--Corey Leong
= bug analysis =
= fix recommendation =
You don't seem to have a ssh public key attached to your account.
Login at https://admin.fedoraproject.org/accounts then edit your account info and upload a ssh public key.
About 20min after that upload it should be synced out to fedorahosted and you should be able to push then.
Kevin --
I uploaded a ssh public key to my account. Waited an hour or two, but still no go.
Tried again yesterday, but still receiving the same permission problem.
Permission denied (publickey) fatal: Could not read from remote repository.
Is there something incorrect on my end?
--Corey
your ssh key is definitely there now.
Can you tell me your external IP address?
You might have been added to denyhosts for trying too may times.
It's 97.100.225.218 .
That ip was blocked.
Please try again now?
Greetings Kevin --
Tried a couple of times but still no luck
Here's my local .git/config file:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = ssh://cleong@git.fedorahosted.org/git/netizen.git [user] name = cleong email = cleong@fedorahosted.org [remote "cleong"] url = ssh://cleong@git.fedorahosted.org/git/netizen.git fetch = +refs/heads/:refs/remotes/cleong/
Let me know if I need to any modifications please.
Thanks,
That looks ok, but I see in logs:
{{{ Jan 16 17:21:19 hosted03 sshd[13561]: Connection from 97.100.225.218 port 42710 Jan 16 17:21:21 hosted03 sshd[13561]: Invalid user corey from 97.100.225.218 Jan 16 17:21:21 hosted03 sshd[13562]: Connection closed by 97.100.225.218 }}}
Can you do a fresh:
git clone ssh://cleong@git.fedorahosted.org/git/netizen.git
and then try and push from that newly cloned repo?
Ok Kevin I did the clone command and that worked, public key passphrase and all.
I then tried the push master command and that did not work. Received the same permission denied error again.
On my local machine I am logged in as 'corey' but my username on the remote repo is 'cleong'.
Is this the issue and what do you recommend?
Thanks, Corey.
Can you attach the command you are running and all output?
cleong git screenshot 150115_cleong_git_snapshot.png
Any help is appreciated for this ticket. I attached a screenshot per your request.
Sorry for not answering sooner... trac doesn't send email when just an attachment is added, so I didn't know you had done so. ;(
So, does:
git push ssh://cleong@git.fedorahosted.org/git/netizen.git master
work?
Looks like it finally works: https://git.fedorahosted.org/cgit/netizen.git/tree/
After waiting a few more days, I was able to push my ks file to the repo tree today. Did not try anything new compared to last time.
Thanks for all of your help,
odd. Nothing changed on our end either. ;(
But I am very glad it's now working for you...