Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5417

Closed
Open
Created Oct 23, 2013 by Administrator@rootOwner

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....

  1. using ssh: I could not clone the repository at all, authentication failed
  2. 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?

Assignee
Assign to
Time tracking