Add CircleCI to authorized_keys


CircleCI needs to ssh onto my server to access a file with environment variables, and also to integrate the code once it passes tests. However, when I try to scp onto the server (using the same command in my CircleCI 1.0 build that worked) it responds Permission Denied (Public Key). Is there a way to generate a new SSH key for CircleCI to add to my server, or is the issue something else?


Can you share the steps you used to add the needed SSH key to the job?

Did you follow the directions here (including add_ssh_keys)?

Hi, Yes! add_ssh_key did it. Thank you so much!

1 Like

Very glad to hear it!

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