Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cloning private repository issue

Discussion in 'General Discussion' started by Maor44, Apr 11, 2019.

  1. Maor44

    Maor44 Registered

    Joined:
    Apr 11, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
    #1 Maor44, Apr 11, 2019
    Last edited by a moderator: Apr 11, 2019
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,505
    Likes Received:
    2,179
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice