How to clone Bitbucket git into cPanel Git™ Version Control

Viewed 2726

I have git into my Bitbucket account and I want clone those git into my cPanel Git™ Version Control. How to do that?

I was able pull git using cPanel terminal. but I want to make clone using cPanel Git™ Version Control.

We want to make bitbucket git clone using cPanel Git™ Version Control so that we can create more branches from cPanel git and do version control for cPanel copy. I tried to clone bitbucket git using https, git and ssh url into cPanel Git™ Version Control but then I am getting following error.

From BitBucket

git clone https://<AccountName>@bitbucket.org/<RepositoryName>/<BranchName>.git

Into cPanel Git™ Version Control But I am getting following error.

https://<AccountName>@bitbucket.org/<RepositoryName>/<BranchName>.git

enter image description here

Then i have tested with SSH and Git path from bitbucket

For SSH path I am getting following error.

ssh://git@bitbucket.org/<workspace_ID>/<repo_name>.git

enter image description here

Fog git url which is copied from Clone button in bitbucket, I am getting following error.

git@bitbucket.org:<workspace_ID>/<repo_name>.git

enter image description here


  • I have created SSH Access keys into cPanel, Do i have to use that anywhere for cloning ??
  • Can you guide me steps in details for cloning git from bitbucket into cPanel Git™ Version Control

Thank You.

1 Answers
  1. Go to repository settings on Your Bitbucket Repository Console
  2. Under General menu, click Access keys
  3. Click Add key button
  4. Open id_rsa.pub file from cpanel file manager that you have created
  5. Copy and paste its contents to Bitbucket Access keys under Key form input, and click Add SSH Key button
  6. On the CPanel Git™ Version Control, add and clone repository, if any error message, it will be create a known_hosts file in cpanel file manager.
  7. Repeat step 6 one more time
Related