-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting password prompt when pushing a new repo #15
Comments
Is your SSH-Key not password-secured? Otherwise, there should be a prompt, of course. How did you create your own SSH-Key? |
Thank you for your time!
It is password-secured, but the prompt is:
and the password I used when creating the key does not work. |
Um, why you tying to connect using I mean git origin: |
I tried |
I'm sure, this is not an redmine-gitosis issue, but you should start from looking into /var/logs/secure (or what debian uses for authentication logging), and see what happens. Don't forget to start sshd with debug-level logging. |
I stopped my sshd and started it with Here is the output: https://gist.github.com/1154120 So it appears to be looking in |
There something wrong with your installation. Can you paste /srv/gitosis/.ssh/authorized_keys. contents? There something wrong with key file:
|
|
you may try to sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update |
Thanks - I tried |
Should I try reinstalling gitosis in a different manner from above? Or is there another issue page / mailing list I should try? |
Yes, I think you should try from scratch. First of all, befo setting redmine integration, make sure that gitosis itself work well. |
On the server:
On the client:
How does git know to use |
I've spent a ridiculous amount of time trying to get this to work. This time through I wrote down every single step. My current problem recreation steps:
git push origin master
And I get prompted for a password. I have verified that I have the private key in my ~/.ssh directory and that Redmine has the correct public key listed under http://redmine/my/public_keys. When I enter text at the prompt or just hit enter, it prompts again until it quits. Each time creates an entry in /var/log/auth.log:
What else can I do to diagnose the problem? Thank you so much!
My installation steps (Ubuntu 11.04):
Activate acl for my partition, reboot, then:
The text was updated successfully, but these errors were encountered: