Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #2156
Closed
Open
Created Aug 03, 2015 by Sorin Sbarnea@ssbarnea

Gitlab: no user or key was provided : caused by keys not being removed from git own authorized_keys file

I was able to debug and uncovered the bug that is causing the infamous Gitlab: no user or key was provided errors message for users that do have the right keys.

This seems to happen if the key was previously registered as a deploy key (maybe even by another user) and removed after and re added to the the current account.

I was able to stop the key inside the authorized-keys file but with a key number (key-123) that does not exists inside the database.

The workaround seems to be to manually clean the authorized_keys file but that's not the point, as this problem is causing serious issues with automation.

Assignee
Assign to
Time tracking