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

Closed
Open
Created May 19, 2014 by Administrator@rootOwner

SSH key stopped working, cannot push to repository

Created by: kgodwin

SSH Key stops working to push to the repository suddenly [after using it for weeks, same ssh key I use to log into the box and it still works fine]. Adding a new ssh key works.

Seems similar to https://github.com/gitlabhq/gitlabhq/issues/4730

Also:

ssh -T [email protected]
Welcome to GitLab, Anonymous!

gitlab-shell log:

I, [2014-05-18T04:41:40.503246 #30966]  INFO -- : gitlab-shell: executing git command $git-upload-pack /var/opt/gitlab/git-data/repositories/$username/$project.git for user with key key-2.
I, [2014-05-19T01:44:55.453478 #3016]  INFO -- : Adding project $username/$different-project.wiki.git at $/var/opt/gitlab/git-data/repositories/$username/$different-project.wiki.git.
I, [2014-05-19T01:44:55.475225 #3014]  INFO -- : Adding project $username/$different-project.git at $/var/opt/gitlab/git-data/repositories/$username/$different-project.git.
W, [2014-05-19T01:45:09.013847 #3054]  WARN -- : gitlab-shell: Access denied for git command $git-receive-pack '$username/$project.git' by user with key key-2.

From the other logs, I don't see anything suggesting any kind of strangeness so I really have no clue what to provide :/

Assignee
Assign to
Time tracking