Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried following this doc...

...but unfortunately the "initialKeyFileName" step is not explained.

share|improve this question
up vote 2 down vote accepted

It says on the top:

  • You already have a public ssh key on your local machine you can use that to initialize the repository. Don't have one? Look here.

The linked article is great, should be no problem to follow it.

share|improve this answer
Wow. I missed that. Need to slow down a bit. – ServerChecker Jun 25 '11 at 20:13

Sparkle Share – Git server installation in Ubuntu 10.04

I am starting with an empty Ubuntu server 10.04 with just openssh installed. I assuming that you can access you server from

Install Git

aptitude build-dep git-core
apt-get install git-core
git --version   #(not necessary just to insure that is installed)

Add user git

adduser --disabled-password git
git init --bare /home/git/MyProject  #(your projects folder, named as you like)

Make a key file in order to login without a password

mkdir /home/git/.ssh
touch /home/git/.ssh/authorized_keys

Edit file /home/git/.ssh/authorized_keys and paste your key. You can find it your projects file as .txt file at The client side.

pico /home/git/.ssh/authorized_keys

Change owner and permissions on files

chmod 700 /home/git/.ssh
chmod 600 /home/git/.ssh/authorized_keys
chown -R git:git /home/git

Add your server in client      ,        /home/git/MyProject
share|improve this answer

I've create a document here about install git on Debian box, i think that you may follow the same step on a Ubuntu

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.