I am setting up git in an ubuntu 12.10 VPS. This is my first time setting up a git repository so I am just a beginner, and I'm sure I'm missing some important stuff. I have executed the following commands in my server:
# apt-get install git-core
# git config --global user.name "Roberto"
# git config --global user.name "roberto@example.com"
# apt-get install gitolite
# adduser --system --gecos 'git version control' --shell /bin/bash --group --disabled-password --home /home/git git
# su git
$ echo "PATH=$HOME/bin:$PATH" > ~/.bashrc
$ cd
$ gl-setup /tmp/roberto.pub
roberto.pub is my public certificate in my work machine. Then from that work machine, I have tried to clone the gitolite-admin repository, to manage the git server:
$ git clone git@vps:gitolite-admin.git
Cloning into 'gitolite-admin'...
git@vps's password:
Which I have not even set! Shouldn't it be asking me for roberto's password instead?
Thanks for your help!