Question

[MASKED]@[MASKED]: Permission denied (publickey). 34 Cleaning up file based variables 00:01 35ERROR: Job failed: exit code 255

With ci cd i get

[MASKED]@[MASKED]: Permission denied (publickey). 34 Cleaning up file based variables 00:01 35ERROR: Job failed: exit code 255


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The answer is an extra white space in the ID_RSA below the key 😁

Hi @chompersawtooth,

There are a couple of probabilities here the way I see it. First is your SSH key is either not added to GIT or it’s not a correct one.

If you are trying to run a gitlab pipeline for instance, you might experience this issue. You’ll need to make sure, your SSH key is having the proper permissions i.e 400.

Having said that, can you please let us know how you are getting to that error, what your aim is and what you configuration is?

Regards, KFSys