Add_user_keys fails to install key configured in Checkout keys

Hi all,

I’m trying to run a project locally via the circleci build tool but I’m getting failures because of ssh key configuration.

My project has dependencies on two private github repositories.

I have a user key configured in my projects Checkout keys section and according to this configuration I should be able to add/inject this key to my local docker image.

But the step with add_ssh_keys reports;

====>> Installing additional ssh keys
There are no configured ssh keys to install

And my test ssh -T git@github.com fails;

Permission denied (publickey).
Error: Exited with code 255

I’ve been searching for a solution here and the docs but not sure whats going on.

Any help will be appreciated.

The local build tool is good for validating configs, but bad for general testing. Generally we’d suggest to test on the cloud platform.

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