Maor44

Registered
Apr 11, 2019
1
0
1
Israel
cPanel Access Level
Root Administrator
Hi all,

I have a problem with clone private repo to my cpanl.
I follow this guide Guide to Git - Set Up Access to Private Repositories - cPanel Knowledge Base - cPanel Documentation

when I wrote cat ~/.ssh/id_rsa.pub I get the right Key
I copy and paste the key in my repo under "access key"

but when I tried to run ssh -T
Code:
https://[email protected]/someusr/tbndt.git
I get ssh: Could not resolve hostname bitbucket.org/someusr/tbndt.git: Name or service not known
I tried to run also ssh -T [email protected]:someusr/tbndt.git and got the same error.

what do I do wrong?!

Thanks.
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @Maor44,

Can you confirm if the last step in the document you linked fails as well? EX:

Code:
git clone [email protected]:MyStuff/private-repository.git
If so, can you run the "host bitbucket.org" command to verify your server is resolving bitbucket.org to the correct IP address?

Thank you.