gitolite installation: I cannot clone gitolite-admin repo!

巧了我就是萌 提交于 2019-12-04 05:49:22

Finally, I've got an answer from myself!

gitolite user created by devian package gitolite automatically is not allowed to login by sshd. so i've added gitolite to AllowUsers in file sshd_config.

Wew~~~

Whenever a ssh-based operation is asking for a password, it is likely because it:

  • (the ssh daemon which listen to your request) doesn't find the public keys in ~gitolite/.ssh/authorized_keys file.
    In the Gitolite installation package method, that is what gl-setup is supposed to do (line 91+)
    Check that you do have the ~gitolite/.ssh/authorized_keys properly filled and protected.

  • or your private key (id_rsa) is not where it supposed to be (in your own $HOME/.ssh)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!