I am having issue connecting git repo to cpanel. I have added SSH keys to cPanel from git correctly. Sometime repo are connecting and sometime i am getting following issue
Error: β/usr/local/cpanel/3rdparty/bin/gitβ reported error code β128β when it ended: fatal: could not read Password for ‘https://……@bitbucket.org‘: No such device or address
Thank you in advance
3
Answers
Then you should use an SSH URL (
git@server:user/repo
), not an HTTPS one (which starts with https://...)See “Guide to Git – Set Up Access to Private Repositories” from the CPanel Knowledge Base.
You can see here a typical BitBucket SSH URL:
Note: the username for a BitBucket repo is always
git
.Also confirm that the repository is public, i just had this issue and figured my repository was private so it couldn’t be found
Try the following: