Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Push error: git-receive-pack not permitted(Push error: git-receive-pack not permitted)
Push error: git-receive-pack not permitted [message #937002] Mon, 08 October 2012 11:04 Go to next message
Kathleen Justice is currently offline Kathleen Justice
Messages: 2
Registered: October 2012
Junior Member
I'm having trouble pushing code using the egit plugin for Eclipse.
Here's the steps I've taken:
* Right click on project, click on team then remote then push.
* Under Custom URI,
Location
URI: (git uri)
Host: github.com
Repository path: /(github username)/casino-royale.git
Connection:
Protocol: https
Authentication:
User: (my github username)
Password: (my github password)
(I've also tried user: git, password: blank)
* Click Next
* Click Add all branches Spec
* Click Next

But, here I get the error, "Can't connect to any URI ... git-receive-pack not permitted)

Any help would be appreciated.
Re: Push error: git-receive-pack not permitted [message #937950 is a reply to message #937002] Tue, 09 October 2012 08:04 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 546
Registered: July 2009
Senior Member
Maybe you miss some proxy settings?
Re: Push error: git-receive-pack not permitted [message #940261 is a reply to message #937950] Thu, 11 October 2012 09:22 Go to previous messageGo to next message
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
If you are entering you GitHub username and password, that's wrong, since they are (as far as I know) only used for logging on to the GitHub website, and *not* for authenticating when pushing repos. For the latter, keypair authentication is used.

I am able to push to GitHub without needing to set a Custom URI, just using a configured remote repository value of origin:
git@github.com:organisation/reponame.git
- does that work for you?

Re: Push error: git-receive-pack not permitted [message #940328 is a reply to message #940261] Thu, 11 October 2012 10:38 Go to previous message
Kathleen Justice is currently offline Kathleen Justice
Messages: 2
Registered: October 2012
Junior Member
The reason that I couldn't push was because I didn't have write access on the Github account that I was trying to push to. It was read-only. Now that it has changed to read-write access, it's working just fine. Thanks for all your help.
Previous Topic:Preparing cvs->git Migration: Developer workflow
Next Topic:EGit does not honor ~/.hushlogin
Goto Forum:
  


Current Time: Wed Jul 30 05:19:48 EDT 2014

Powered by FUDForum. Page generated in 0.01676 seconds