SSH-Key not found for private repository

ssh

#1

I’m using a private repository with CircleCI and I added a private SSH-key-pair to the CircleCI build environment (based on the description: https://circleci.com/docs/adding-read-write-deployment-key/). I get the message “We could not test this push, because the Github repo is missing a Circle SSH key.”

If I add a (read-only) SSH-key by the CircleCI configuration, I can build the private repository, but I cannot push any data from the CircleCI build to the GitHub repository. If I add my own key-pair CircleCI cannot read the repository anymore. If I do the same way on a public GitHub repository everything works fine.

How can I configure the build environment with an own SSH-key-pair with write-access on GitHub on a private repository?


#2

Any luck finding the issue?


#3

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