LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-11-2011, 05:32 PM   #1
Registered: Apr 2007
Distribution: Fedora/Ubuntu
Posts: 63

Rep: Reputation: 15
Can't install Git repo (I don't git git )

I am trying to install a git repo i've used git as a client before and would really like to setup my own personal git repo

I've been following this but the part I don't under is the password for gitosis

I get to the part
git clone git@YOUR_SERVER:gitosis-admin.git

and it asks me for a password ?

and I don't remember setting a password for git anywhere would it be from my public key? (Because that doesn't seam to work)

Also the ubuntu thing says "Note that gitosis is an account already on your system that was created when you installed the gitosis package. " what does that mean what the crap is the gitosis password? and how am I to know this ?

Anyway I am using ubuntu 10.10 if that helps anyone

Thank you.

Last edited by Nemus; 02-11-2011 at 05:47 PM.
Old 02-12-2011, 01:47 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebJessie, + 50+ other Linux OS, for test only.
Posts: 15,620

Rep: Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990
May be Google .. gitosis ubuntu .. : Lots of info is available.

Example :
"" Install (Set Up) Git and Gitosis on Ubuntu ""

And of course do : 'sudo apt-get install gitosis'
..... or use Synaptic for the package install.

( I'd guess, you'll then be asked to create a git password.)

Old 02-13-2011, 02:39 AM   #3
Registered: Apr 2007
Distribution: Fedora/Ubuntu
Posts: 63

Original Poster
Rep: Reputation: 15
Key Concept

I believe I missing a key concept or a step in the install or something, I've tried multiple how tos, but I always run into issues that the guide doesn't describe.
I get to this part in the guide "git clone git@<YOURSERVER>:gitosis-admin.git" and the system asks me for a password (and yes I understand that YOURSERVER is my ip address I've even tried localhost it just won't work for me)

and here above in the guide password is disabled so I don't know just don't understand it I guess.
sudo adduser
–shell /bin/sh
–gecos ‘git version control’
–home /var/git

Its easy to google for a problem when you know how to say want you need to say. I don't know what concept I am missing so I am not sure on what to google for. All of the guides have this step "git clone git@YOUR_SERVER_HOSTNAME:gitosis-admin.git
cd gitosis-admin" and I am following them to a T and it asks me for a password I try every password I can think of and it fails
maybe I'll try a different Distro see if I can get it to work, because I am having a hell of a time with it on ubuntu.

does something need to be setup in ssh or do I need to init.d the gitosis server?

Any ideas on this would be helpful thank.

or a link to a good guide that explains the issue.
Old 05-20-2011, 02:09 PM   #4
Registered: Apr 2007
Distribution: Fedora/Ubuntu
Posts: 63

Original Poster
Rep: Reputation: 15
ssh key gen

my issue was that the guides where missing the step where you generate ssh keys.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SBo-git - on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
setting git-diff --color-words as git-diff potuz Linux - Software 5 09-09-2010 01:31 PM
generate patch between two revision from git repo harish2704 Linux - Software 2 08-06-2010 11:16 PM
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 07:25 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration