Can not add user with Gitolite

后端 未结 2 1291
慢半拍i
慢半拍i 2020-12-17 05:59

I am newby with gitolite. I\'ve install gitolite on a remote server.

http://dev.remoteserver.com

So I could git-cloning gitolite-admin.git

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-17 06:22

    I was having trouble cloning out the gitolite-admin repository after the initial setup and it was due to the fact that I gave group write permissions to the home folder of the gitolite user git and ssh doesn't like that.


    I checked Check /var/log/secure and saw this :

    Authentication refused: bad ownership or modes for directory /home/git

    So all I had to do was :

    sudo chmod g-w /home/git/

    References :

    • http://www.daveperrett.com/articles/2010/09/14/ssh-authentication-refused/
    • http://gitolite.com/gitolite/glssh.html

提交回复
热议问题