Hi, all
I'm confronted with some problems when trying to configure gitosis on my Archlinux
http://wiki.archlinux.org/index.php/Setting_Up_Git_ACL_Using_gitosis
I referrer to this wiki article and successfully installed gitosis
$ sudo pacman -U gitosis-git-20090525-1-i686.pkg.tar.gz
$ sudo -H -u gitosis gitosis-init < /tmp/id_rsa.pub
and modify /srv/gitosis/.ssh/authorized_keys to include my local user's id_rsa.pub
then i run git clone as the local user
$ git clone gitosis@host:gitosis-admin.git
it says
Initialized empty Git repository in /home/wyx/gitosis-admin/.git/
[email protected]'s password: *
fatal: 'gitosis-admin.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
As a result, the git clone operation failed. I'm wondering why it init empty git repository in my local user's directory (/home/wyx)? And since i've already added local user's id_rsa.pub in .ssh/authorized_keys, why does it still ask for password?