Introduction
Many users may experience the error code 128 in cPanel. You receive the following error message when you attempt to create a new Git repository in the “cPanel GitTM Version Control” control icon in cPanel:
Cmmnd:
“/usr/local/cpanel/3rdparty/bin/git” reported error code “128” when it ended: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Description
This occurs when the remote Git repository that you specified in the “Clone URL” field rejects your access. You will learn how to configure key authentication to access the remote repository that you are cloning in this guide.
If you receive the error message described in the symptoms section above, you must use the SSH protocol rather than Git or HTTPS. Git providers usually give you URLs to use for SSH that start with ssh://, or in the case of Github, just a username: git@
Before starting the steps in the guide that is linked below, ideally, you will have already obtained the SSH version of the Git repository URL for the remote repository that you need to clone, and you will have learned how to add a public SSH key to your remote Git repository provider’s system so you can access it from your cPanel server by following their instructions.
How to Fix?
You need to learn to set up and access private repositories using Git. Click the article link below.
https://www.milesweb.co.uk/hosting-faqs/learn-to-set-up-access-to-private-repositories-using-git/