Authentication not working for private repositories
Created by: mecp
Hi GitLab Team,
I just finished setting up GitLab v6.2.0 (4f5d9053). I followed the official installation guide and used the recipe web-server/nginx/gitlab-ssl from gitlab-recipes to enable https access.
Only problem which I faced during installation was with the gitlab-shell installation. I created an issue regarding that problem https://github.com/gitlabhq/gitlab-shell/issues/97
But I could solve this issue by
- enabling/setting the password for user git
- then logged in as user git
- and then installed gitlab-shell as described in installation doc
- and then again unset the password for user git
(now /etc/shadow for user git looks like this: git:*:16000:0:99999:7:::)
Now everything is setup and I can access GitLab over htttps. Then I created private project for a user and then tried to clone it on different machine using https and ssh both....
- using ssh: I could not clone the repository at all, authentication failed
- using https: I could clone the repository and push to it but it did not prompt for the authentication at all.
Could someone please help to fix this problem?