Gitlab prompts for password while push for git user

前端 未结 8 1089
遇见更好的自我
遇见更好的自我 2020-12-24 06:55

I installed gitlab on my servers at linode. All services of gitlab are working fantastic. I am able to login, create users, repos etc. But the problem I am facing is when I

8条回答
  •  一生所求
    2020-12-24 07:16

    On systems with SELinux enabled you should not disable SELinux as suggested in some answers.

    To get along with the SELinux restrictions (iff they are the reason for the password prompt; check your /var/log/audit/audit.log ) change the security context for gitlab:

    chcon -t user_home_dir_t /var/opt/gitlab/
    chcon -t ssh_home_t /var/opt/gitlab/.ssh/
    chcon -t ssh_home_t /var/opt/gitlab/.ssh/authorized_keys
    

    (as suggested at the gitlab group)

提交回复
热议问题