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
  • #9303

Closed
Open
Created May 16, 2015 by Administrator@rootOwner

Gitlab does not handle ssh url and/or ssh keys private/internal projects

Created by: doekia

When trying to fetch/pull a project gitlab still asking for password when project are not public. This may be related to issue #8979 (closed)

Client system, proper ssh private/public key Gitlab deploy key for the project is copy of the client public key

Repo is public git pull / git fetch / git clone over https://gitlabserver/owner/project.git works as expected (no pass/user question) v v v v v local repo is properly synchronized

Repo is private or internal git pull / git fetch / git clone over https://gitlabserver/owner/project.git credential is requested git pull / git fetch / git clone over https://owner@gitlabserver/owner/project.git credential is requested git pull / git fetch / git clone over git@gitlabserver:owner/project.git credential is requested v v v v v If credential provided local repo is synchronized

Repo is public git pull / git fetch / git clone over git@gitlabserver:owner/project.git
v v v v v v debug1: Connecting to gitlabserver [1.1.1.1] port 22. debug1: Host 'gitlabserver' is known and matches the ECDSA host key debug1: Offering RSA public key: /var/www/clients/client1/web43/.ssh/gitlab.key debug1: Server accepts key: pkalg ssh-rsa blen 279 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). Authenticated to gitlabserver ([1.1.1.1]:22). debug1: Sending command: git-upload-pack 'owner/project.git' debug1: Exit status 1 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Assignee
Assign to
Time tracking