Git 授权密钥
奇怪的是,在git push上,gitosis并没有将新用户的密钥添加到/home/git/.ssh/authorized_密钥中。当然-我可以手动添加密钥,但这并不好:(Git 授权密钥,git,ssh,gitosis,Git,Ssh,Gitosis,奇怪的是,在git push上,gitosis并没有将新用户的密钥添加到/home/git/.ssh/authorized_密钥中。当然-我可以手动添加密钥,但这并不好:( 我能做什么?为了解决这个问题,我使用了 sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update 为了解决这个问题,我使用了 sudo chmod 755 /home/git/repositories/gitosis-admin.gi
我能做什么?为了解决这个问题,我使用了
sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
为了解决这个问题,我使用了
sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
如果您忘记将.pub添加到keydir中密钥文件的末尾,这会使我感到很愉快一段时间…如果您忘记将.pub添加到keydir中密钥文件的末尾,这会使我感到很愉快一段时间,也会发生这种情况