Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3941416
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:32:25+00:00 2026-05-20T00:32:25+00:00

I followed the guide here http://www.hackido.com/2010/01/installing-git-on-server-ubuntu-or.html but I cannot find the proper way to

  • 0

I followed the guide here http://www.hackido.com/2010/01/installing-git-on-server-ubuntu-or.html

but I cannot find the proper way to import another ssh key so my other computers can clone and push the repos.

this code specifically sudo -H -u git gitosis-init < /tmp/id_rsa.pub perks my ears as it seems to import only one key to the git user. I tried running the same command with an authorized_keys file containing both my public keys but that did not work.

Any advice?
thanks

UPDATE

I cloned gitosis-admin locally on the server using my local user. I scp my .pub files from each computer to my server then renamed them and stuck them in gitosis-admin/keydir/ . I then made the
following changes to the gitosis.conf file per @rpflo advice.

[gitosis]

[group gitosis-admin]
writable = gitosis-admin
members = serv

[group all-repos]
writable = myproject
members = serv work win7top

after successfully committing and pushing the changes I still cannot git push “git@server:myproject.git” to the server (after init and setting origin etc..)

hmmm

[SOLVED]

well it tuns out i didn’t “git add . ” my key files to gitosis-admin/keydir after i edited the conf file.

thanks for the help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T00:32:25+00:00Added an answer on May 20, 2026 at 12:32 am

    If gitosis is installed correctly you simply add a key to the keys directory of your gitosis repository

    gitosis-admin/
        gitosis.conf
        keydir/
            sally.pub
            joe.pub
            bob.pub
    

    Then in gitosis.conf you create groups

    [group gitosis-admin]
    writable = gitosis-admin
    members = joe
    
    [group all-repos]
    writable = repo1 repo2 another-project
    members = joe bob sally
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed the instruction here: http://www.grails.org/doc/latest/guide/7.%20Validation.html and added into config.groovy : grails.validateable.classes = [liningtest.Warm']
I followed the guide here: http://developer.appcelerator.com/guides/en/app_structure.html to use high & medium density images for
I've followed this guide : http://symfony.com/doc/current/reference/forms/types/file.html and tested the sample here However when I
i'm trying to create a horizontal layout following this guide here: http://www.queness.com/post/356/create-a-vertical-horizontal-and-diagonal-sliding-content-website-with-jquery Now it
I followed this guide here perfectly and have gone through it again but when
i had followed exactly same procedure on google's tutorial: http://developer.android.com/guide/tutorials/views/hello-mapview.html ...while i got force
I followed every step given in this guide: http://help.github.com/linux-key-setup/ When I get to the
I followed this tuorial to create a COM dll in Visual Basic. http://www.codeproject.com/KB/COM/Basics_of_Idl_file.aspx I
I followed this guide http://lazyfoo.net/SDL_tutorials/lesson03/windows/codeblocks/index.php to set up the sdl image extension but now
I followed this guide which I was recommended , but I can't get it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.