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

Closed
Open
Created Oct 20, 2012 by Administrator@rootOwner

Deploy key and permissions after deleting this key

Created by: jverdeyen

Hi!

First of all: thanks!

Installation of gitlab went fine, upgraded to the latest stable without a problem!

But I don't know if the following issue only was in the latest stable.

I added a host key as deploy key to a project. I pulled the project successful. Now I wanted this key to be a key of my user, so I added the key to the user, problem was that gitlab says that the key already exists.

Ok, fine, I deleted this key from the specific project and added it to the user successful. This should make me able to pull/push.. from this project (as I am the admin).

But now I don't have the permissions to do anything for this key. I looked in the /home/git/.ssh/authorized_keys ... and both keys are there. Non of the deploy keys are deleted.

Any idea how I can fix that? The keys in the database of gitlabhq are updated correctly.

Error I get :

R access for project_name DENIED to deploy_2842e9d7166db5171591e8bfc156b47e (Or there may be no repository at the given path. Did you spell it correctly?) fatal: The remote end hung up unexpectedly

Although the key of this server is added to the SSH keys of the admin user. (First this key was added to the Deploy keys of this project)

Assignee
Assign to
Time tracking