Adding private git repo via cPanel

后端 未结 4 2081
情话喂你
情话喂你 2021-02-08 03:53

I\'m trying to add a private git repo onto cPanel but have ran into permission issues and not sure where I\'m going wrong

I have generated the SSH keys in cPanel at the

4条回答
  •  不要未来只要你来
    2021-02-08 04:42

    I have found an issue with the SSH key import within cPanel, when I import a private key via the cPanel SSH Key web interface it creates the file but includes the characters ^M as line breaks.

    When I edited the file via SSH and copied the original key from my desktop the Git operation via cPanel worked straight away.

    Solution

    Edit the private key after import and ensure there are no line-ending or other stray characters.

提交回复
热议问题