Access Denied on push.
Reported by nu2rails | July 7th, 2008 @ 04:55 AM
Don't know why but out of the blue for some reason I can't push to my repo. I can clone just fine but it won't push. I have tried re generating my ssh key and even deleted my local copy and cloned a new one but nothing works. I still get Access Denied and no other explanation of what went wrong. I really need to get this resolved
Comments and changes to this ticket
-
-

onitsuka July 7th, 2008 @ 11:10 AM
Hello I have the same problem since this morning.
I can't push my repo anymore :
git push
Pushing via deploy key is disallowed
fatal: The remote end hung up unexpectedly
-
nu2rails July 7th, 2008 @ 03:31 PM
Now I'm getting the same error as onitsuka. Before it just said Access Denied and how it's Pushing via deploy key is disallowed
-
PJ Hyett July 7th, 2008 @ 03:48 PM
Are you pushing via a deploy key? We added code yesterday to make sure it's used for read-only operations.
-

onitsuka July 7th, 2008 @ 03:51 PM
What is the good way for pushing ?
What do you mean with "pushing via a deploy key" ?
I used to create a clone of my repo
$ git clone git@github.com:###/###.git ###
Do modifications
$ ...
Commit And push
$ git commit -a -m toto
$ git push
-
Tom Preston-Werner July 7th, 2008 @ 04:02 PM
Can you guys try doing:
ssh git@github.com
from the same location as your repos. That will tell you what username or deploy key you are using. If it has a slash in it (e.g. user/repo), then it is a deploy key. In that case we can help you get set up with a normal key that will allow you to push.
-

-

onitsuka July 7th, 2008 @ 04:12 PM
$ ssh git@github.com
Enter passphrase for key '.../.ssh/id_rsa':
I can't do that, ###/###.
Connection to github.com closed.
-
PJ Hyett July 7th, 2008 @ 04:25 PM
We briefly turned on code to allow read-only operations when using a
deploy key, but there are many people using GitHub this way, so we've removed the code. You should be able to proceed as usual.
-
-

onitsuka July 7th, 2008 @ 04:32 PM
Yes it works, thanks you !
If there is a proper secured way to work without deploy key I would be happy to use it but you have to tell me how !
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
