I'd like to connect my hosting's cPanel to a private repository in GitHub.
I've tried to do so using 5 simple steps but it doesn't work, can you kindly assist?
I have:
- Created a cPanel key:
- Authorized and View/Downloaded it:
- Opened the GitHub private repository's setting, pasted the copied key into Deploy Keys (including write access) and hit Add Key (likewise in BitBucket's Access Keys):
- Opened the GitHub private repository's homepage, clicked Code, chose SSH and copied the result (likewise with BitBucket's Clone button):
- Went back to cPanel's Git Version Control, pasted the URL into Clone URL...and got an error:
Error: (XID bvp8gj) “/usr/local/cpanel/3rdparty/bin/git” reported error code “128” when it ended: Warning: Permanently added 'github.com,[IP Address]' (ECDSA) to the list of known hosts. [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.