# Deployment script can't clone github repo

**URL:** <https://discuss.circleci.com/t/deployment-script-cant-clone-github-repo/12387>\
**Category:** Deployments\
**Created:** [May 4, 2017, 12:14am UTC](https://discuss.circleci.com/t/deployment-script-cant-clone-github-repo/12387 "2017-05-04T00:14:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrfoh](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mrfoh](https://discuss.circleci.com/u/mrfoh)\
**Post date:** [May 4, 2017, 12:14am UTC](https://discuss.circleci.com/t/deployment-script-cant-clone-github-repo/12387/1 "2017-05-04T00:14:48Z")

</div>

Hello,

I’m having issues with deployments, as the git clone command required to pull code from github doesn’t work.  
Cloning into ‘services/base-service’…  
ERROR: Repository not found.  
fatal: Could not read from remote repository.

I’ve added my SSH public key to my github profile and i’ve also my SSH private key to circle with a blank hostname.  
I am using the same SSH private public key pair to ssh into the server.  
I have tried add the public key of the server to github, but github says the key is already in use.

---

<div class="post-metadata">

**Author:** ![DominikGM](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/dominikgm/32/7975_2.png) [@DominikGM](https://discuss.circleci.com/u/DominikGM)\
**Post date:** [June 8, 2017, 3:50pm UTC](https://discuss.circleci.com/t/deployment-script-cant-clone-github-repo/12387/2 "2017-06-08T15:50:03Z")

</div>

I think it’s the same bug as in [another post](https://discuss.circleci.com/t/git-ssh-clone-fails-on-specific-repository/12151?u=dominikgm), but with CircleCI 2.0.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:41am UTC](https://discuss.circleci.com/t/deployment-script-cant-clone-github-repo/12387/3 "2018-06-18T11:41:16Z")

</div>

Closed on June 18, 2018, 11:41am UTC


