거의 알고리즘 일기장

circle ci에서 ssh key가 있음에도 repo를 가져오지 못하는 현상 본문

web

circle ci에서 ssh key가 있음에도 repo를 가져오지 못하는 현상

건우권 2023. 8. 11. 21:19

에러코드

Using SSH Config Dir '/home/circleci/.ssh'
git version 2.34.1
Cloning git repository
Cloning into '.'...
Warning: Permanently added the ECDSA host key for IP address '140.82.114.4' to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

exit status 128

상황

- ssh key는 문제없이 설정되어 있음

- checkout step시에 repo를 가져오지 못하는 문제가 있음


해결

- 정말 간단하게도.. ssh key를 지웠다가 다시 연결하면 됨

여기!


참고

https://batsov.com/articles/2022/09/20/resetting-circleci-checkout-ssh-keys/

 

Resetting CircleCI Checkout SSH Keys

Lately I’ve been having some weird problems with CircleCI and some of my OSS projects (most recently CIDER) - the SSH checkout keys that CircleCI uses to fetch the code from GitHub started to disappear which resulted in the following obscure error messag

batsov.com

 

반응형
Comments