How can I clone a github private repository at local cli?



Hi, All.

I have no idea about cloning the github private repository at local cli.

I tried…

  • added a fingerprint which is related my ssh key in add_ssh_keys section
  • added a entry of github host to known_hosts

Then I ran circleci build, stdout showed me like Permission denied (publickey)..
Of course, I ensured ssh key in my host works fine.

I guessed --checkout-key never be used when execute run: git clone ... step… hmm…

Though I try to search likely topics from, I found no topics.

Cloning Private Github repos with Circle Local CLI

What value are you using for this flag?


Yes, but --check-key seems not work fine to me.

I posted another thread about it.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.