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

Closed
Open
Created Nov 21, 2011 by Administrator@rootOwner

Strange member name added to gitosis.conf and keys table.

Created by: hashimotor

When I add a new user/public key/project and git remote add origin, error occured.

username@servername:~/spam$ git push -u origin master
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly

In members directive in /home/git/repositories/gitosis-admin.git/gitosis.conf and SQLite keys table, instead of my username@servername, strange strings my_email_addr_with_underscore_randomnum_1234567890 stored.

I suspected git and SSH pubkey error, but cloning finished successfully.

username@servername:/tmp$ git clone git@username@servername:gitosis-admin.git
Cloning into gitosis-admin...
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 15 (delta 3), reused 3 (delta 0)
Receiving objects: 100% (15/15), done.
Resolving deltas: 100% (3/3), done.
username@servername:/tmp$ git clone git@username@servername:spam.git
Cloning into spam...
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly

Why controller write the wrong name in gitosis.conf?

Assignee
Assign to
Time tracking