gitosis: configuration does not exist
Gitosis does not update my authorized_keys and therefore I'm开发者_开发技巧 not able to create new users in git. post-update under gitosis-admin.git is executable. I tried then to run the script manually on the server (sudo -u gitosis sh ./post-update), which ends in the following error:
ERROR:gitosis.app:Configuration does not exist: [Errno 2] No such file or directory: '/root/.gitosis.conf'
Any idea to solve this?
It shouldn't have to update autorized_keys. Communication is done over one id and identification is done via what public key is subsequently submitted - but at that point ssh is already satisfied.
You should switch to gitolite anyway. Gitosis is no longer being actively developed.
精彩评论