SSH connection from CircleCI build server to remote server not being allowed

I’ve always used GitHub’s directions here https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ with a blank password.

Adding your private key to https://circleci.com/gh/:org/:project/edit#ssh as you have been doing is correct. https://circleci.com/docs/2.0/add-ssh-key/

Sine it doesn’t work directly with SSH I think it’s likely something with the key, since the others work correctly.

Can you also respond to the ticket with a build where the other keys worked, so I can see if there is something different about them? Or were those 1.0 builds?

Going to ask a couple silly questions (since those are usually the ones that matter in support)

Are you able to SSH to this server locally using the same private key?

I notice you are using the same key for your other two servers, does that one work if added to CircleCI for the third server?

I really appreciate your patience in troubleshooting, this is a confusing one that seems to have no cause at all. :frowning:

1 Like

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