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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:02:55+00:00 2026-05-13T09:02:55+00:00

I have git repository (powered by gitosis) on my local ubuntu server I want

  • 0

I have git repository (powered by gitosis) on my local ubuntu server

I want to have an access from the other local computer powered by windows xp (msysgit)

I have generated rsa key on windows machine and published to ubuntu server

I have .ssh/config file setted to use this key on windows machine

When I do

ssh git@192.168.0.6

this works as desired, without password prompt

However when I try to clone repository with :

git clone git@192.168.0.6:gitosis-admin

or

git clone ssh://192.168.0.6/~/gitosis-admin

then I got following errors:

fatal: ‘gitosis-admin’ does not appear to be git repository

When I try to clone with existing user account e.g. user named atom

git clone atom@192.168.0.6:gitosis-admin

this works as desired, but does not work for other repo projects

My gitosis.conf:

[gitosis]

[group gitosis-admin]

writable = gitosis-admin

members = windows_user atom@atom-desktop

[group team]

writable = another_project

members = @all

So my question is: ‘Where is the problem ?’ Should I change setting of gitdaemon ?

  • 1 1 Answer
  • 3 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-13T09:02:55+00:00Added an answer on May 13, 2026 at 9:02 am

    According to this tutorial, git clone can be done even before starting tinkering with the gitosis.conf file.
    So did you follow those steps?

    Firstly, it will have created a user called “git”.
    It has full power over the deposits, having in his home directory.

    # Useradd-G git-d / home / git-s / bin / bash-m git 
    

    Then we will get the SSH public key, and put in a temporary file as /tmp/cle.pub.
    We will then, as root, run these commands:

    sudo-H-u git gitosis-init < /tmp/cle.pub 
    

    In this case, we’ll run as git, but in addition, we will run into the home of the latter.
    The gitosis-init command will initiate the filing by adding the user’s public key as the deposit containing Committing configuration.

    If successful, you should get a result like this:

     Initialized empty Git repository in. /
     Initialized empty Git repository in. / 
    

    (Yes, twice!)

    And if you view the contents of git home, like magic, it is full of files!

    Now we’ll change the file permissions.
    Indeed, I sometimes noticed it does not change because of rights problems.

    sudo chmod 755 /home/git/repositories/gitosis-admin.gif/hooks/post-update 
    

    This being done, I am pleased to announce that Git your server is ready, and it only remains to add your deposits and your users!

    Now all configuration is done on your computer via the deposit that we will import at once:

    git clone git @ [server address]: gitosis-admin.gif
    cd-gitosis admin.gif 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a local git repository which tracks a remote SVN repository via git
I have a local Git repository I've been developing under for a few days:
I have a local git repository created with git svn clone . I make
I have a git repository with remote foo. foo is a web app, is
I have a git repository which tracks an svn repository. I cloned it using
I have a git repository with multiple branches. How can I know which branches
I have a Git repository I store random things in. Mostly random scripts, text
I have a Git repository which contains a number of subdirectories. Now I have
Say I have a git repository and I've been working on master, can I
If I have a clone of a git repository as a cached copy on

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.