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 6796285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:26:56+00:00 2026-05-26T18:26:56+00:00

I setup gitosis a while back and things were running fine, but eventually tragedy

  • 0

I setup gitosis a while back and things were running fine, but eventually tragedy struck. Long story short, the machine gitosis was on got nuked, but I had a backup of all the files.

I began attempting to reinstall gitosis, I started from a fresh install of gitosis from apt, moved some files over, had to enter a command or two to get it back up to speed (which unfortunately I don’t remember) which worked and gitosis was back in place.

Fast forward about 2 weeks. I go to push to git from a remote host and gitosis is asking for password. Today I try to edit the gitosis-admin repo and push that from the same host gitosis is on, and that’s asking for password as well.

I’ve tried:

  • Generating a new key using ssh-keygen -t rsa.
  • Running gitosis-init < /tmp/id_rsa.pub as user gitosis and using the newly generated key.
  • Trying to clone the gitosis-admin repo using both git clone gitosis@locahost:gitosis-admin.git and git clone gitosis@mydomain.net:gitosis-admin.git

I’ve verified that the gitosis user is setup with –disable-password and all the copied old gitosis files have been chown’d to the new user.

I’m really not sure where to got from here other than just a fresh install.

  • 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-26T18:26:57+00:00Added an answer on May 26, 2026 at 6:26 pm

    Problem solved with some links from @VonC. Ended up setting up and SSH daemon on port 2222 for debug and learned that SSH was immediately refusing key authentication due to excessive permissions. Neither the .ssh directory nor home directory for the git user should have group or public write privilege, a simple chmod 700 ./ and chmod -R 700 ./.ssh fixed it right up!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Setup TFS 2010 on a pretty oldish server (actually an oldish desktop machine running
I'm trying to setup gitosis according to the instructions here . It works fine
I have setup a git server using gitosis and everything was going fine. I
I have gitosis setup and working wonderfully using ssh. git@domain.com:repository.git works just as expected.
I just setup an git repository using gitosis. What I can't figure out is
I've recently setup an inhouse git repository server and have it up and running
I have setup hudson to check out from my remote git repository but i
I have gitosis setup on my server and I'm trying to create a post-receive
I have a standard gitosis setup that I would like to backup using rsync.
I have a git repository setup on a server: andy@ubuntu:/home/git/repositories$ ls gitosis-admin.git GoGoFlow.git andy@ubuntu:/home/git/repositories$

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.