Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
奇怪的事情 - 在 git push gitosis 上不会将新用户的密钥添加到 /home/git/.ssh/authorized_keys。当然-我可以手动添加密钥,但这不好:(
我能做些什么?
解决这个问题我用过
sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
如果您忘记将 .pub 添加到 keydir 中的密钥文件的末尾,也会发生这种情况,这让我很开心......