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

Closed
Open
Created Jan 20, 2013 by Administrator@rootOwner

Upgraded to 4 (and gitolite to 3) and now there's only one key in /home/git/.ssh/authorized_keys

Created by: jaspertandy

Followed the instructions to the letter (except for the bundle stuff that requires the gitlab user, which I ran with gitlab user, rather than sudo -u gitlab because it always fails for me doing that)

The userdel -r git command has obviously removed all my .ssh stuff, but the creation things haven't put all my keys back where they should be, so I'm prompted for a password every time I try to connect. Using the web UI, I've tried to reinstall one of my keys, but that has had no bearing on the contents of /home/git/.ssh/authorized_keys.

I've also manually cloned the gitolite-admin repo and forced the keys into /home/git/.ssh/authorized_keys but that doesn't seem to have done anything either.

I was assuming that either of these two commands:

bundle exec rake gitlab:gitolite:update_keys RAILS_ENV=production bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production

Would have been responsible for re-inserting all my SSH keys from gitolite-admin, but that doesn't appear to have worked. Can someone give me an idea of what I need to do to get my SSH keys back in please?

Assignee
Assign to
Time tracking