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

Closed
Open
Created Aug 01, 2012 by Administrator@rootOwner

prompted for git@localhost password when pushing to a repo

Created by: DevinRiley

Hi,

i installed gitlab using the instruction on the wiki. Everything works well, and I pass the tests for gitolite installation and gitlab (rake gitlab:app:status).

The issue is, when I create a repo and try to push it to gitlab (sudo git push -u origin master) I am prompted for 'git@localhost's password: '

I've read through several other issues raised here where people have had the same problem, but none of them seem to solve it for me.

Just to give you some context on the environment, I'm SSHed into my server under username devin. I have copied the public ssh key from my home directory to both /home/gitlab/.ssh/authorized_keys and /home/git/.ssh/authorized_keys and verified that there were no linebreaks in the key. I also added a user through gitlab with the same key.

The server is running Ubuntu.

Any suggestions are much appreciated. Thanks, Devin

Assignee
Assign to
Time tracking