GitLab requires git@localhost password to push to a repo

前端 未结 15 1954
梦毁少年i
梦毁少年i 2020-12-30 03:38

I\'m trying to get GitLab up and running on my server. I followed the installation instructions at the gitlab github page and everything went well.

The issue is, whe

15条回答
  •  自闭症患者
    2020-12-30 04:14

    Make sure your gitlab profile has your public ssh key. Sign into gitlab, go to your profile and select the button "Add Public Key". Copy and paste you "keyfile".pub contents in the in the Key box. There were some versions of gitlab that had a bug that when you did add your public key, it did not update the authorized_keys file. Verify (but do not manually add) that your public key is in the authorized_keys file after you add it to your profile. If this is not the issue, then perhaps one of the earlier answers will help.

提交回复
热议问题