I tried following this doc...
...but unfortunately the "initialKeyFileName" step is not explained.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
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.
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 http://mydomain.com
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
/home/git/.ssh/authorized_keys and paste your key. You can find it your projects file as .txt file at The client side.
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
mydomain.com , /home/git/MyProject
I've create a document here about install git on Debian box, i think that you may follow the same step on a Ubuntu