# Checkout code does not work anymore

**URL:** <https://discuss.circleci.com/t/checkout-code-does-not-work-anymore/54240>\
**Category:** Integrations and Accounts\
**Tags:** github, circle-yml\
**Created:** [November 24, 2025, 1:40pm UTC](https://discuss.circleci.com/t/checkout-code-does-not-work-anymore/54240 "2025-11-24T13:40:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trollepierre](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/trollepierre/32/18744_2.png) [@trollepierre](https://discuss.circleci.com/u/trollepierre)\
**Post date:** [November 24, 2025, 1:40pm UTC](https://discuss.circleci.com/t/checkout-code-does-not-work-anymore/54240/1 "2025-11-24T13:40:05Z")

</div>

Hello,

While I push code, it appears that github denies permission. But I gave the permission. I even remove it and add it again. I don’t understand.

ZngncgrqDMbWdxMWWOGtZ9UgbqgZE=  
[bitbucket.org](http://bitbucket.org) ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIazEu89wgQZ4bqs3d63QSMzYVa0MuJ2e2gKTKqu+UUO  
[bitbucket.org](http://bitbucket.org) ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDQeJzhupRu0u0cdegZIa8e86EG2qOCsIsD1Xw0xSeiPDlCr7kq97NLmMbpKTX6Esc30NuoqEEHCuc7yWtwp8dI76EEEB1VqY9QJq6vk+aySyboD5QF61I/1WeTwu+deCbgKMGbUijeXhtfbxSxm6JwGrXrhBdofTsbKRUsrN1WoNgUa8uqN1Vx6WAJw1JHPhglEGGHea6QICwJOAr/6mrui/oB7pkaWKHj3z7d1IC4KWLtY47elvjbaTlkN04Kc/5LFEirorGYVbt15kAUlqGM65pk6ZBxtaO3+30LVlORZkxOh+LKL/BvbZ/iRNhItLqNyieoQj/uh/7Iv4uyH/cV/0b4WDSd3DptigWq84lJubb9t/DnZlrJazxyDCulTmKdOR7vs9gMTo+uoIrPSb8ScTtvw65+odKAlBj59dhnVp9zd7QUojOpXlL62Aw56U4oO+FALuevvMjiWeavKhJqlR7i5n9srYcrNV7ttmDw7kf/97P5zauIhxcjX+xHv4M=  
[gitlab.com](http://gitlab.com) ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY=

Writing SSH key for checkout to “/home/circleci/.ssh/id\_rsa”  
Writing SSH public key for checkout to “/home/circleci/.ssh/id\_rsa.pub”  
Cloning git repository - [git@github.com](mailto:git@github.com):trollepierre/recontact\_travel\_blog.git

- Creating a blobless clone for better performance  
Cloning into ‘.’…  
Warning: Permanently added the ECDSA host key for IP address ‘140.82.113.4’ to the list of known hosts.  
[git@github.com](mailto:git@github.com): Permission denied (publickey).  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.  
error running git clone “git@github.com:trollepierre/recontact\_travel\_blog.git”: exit status 128

error running git clone “git@github.com:trollepierre/recontact\_travel\_blog.git”: exit status 128

---

<div class="post-metadata">

**Author:** ![doughlass](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/doughlass/32/36043_2.png) [@doughlass](https://discuss.circleci.com/u/doughlass)\
**Post date:** [November 28, 2025, 2:11pm UTC](https://discuss.circleci.com/t/checkout-code-does-not-work-anymore/54240/2 "2025-11-28T14:11:42Z")

</div>

Ran into this similar problem.

How I’ve fixed it, is to set a User Key.

Open the Project → Settings → SSH Keys → User Key.

Pick a user who can read-write to the repository and now it’ll checkout and action as your user. Alternatively, you can log in as a machine / bot user and do the same and it’ll action as that user.

---

<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:** [December 5, 2025, 2:12pm UTC](https://discuss.circleci.com/t/checkout-code-does-not-work-anymore/54240/3 "2025-12-05T14:12:20Z")

</div>

Closed on December 5, 2025, 2:12pm UTC

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