Report this

What is the reason for this report?

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

Posted on February 20, 2021

With ci cd i get

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



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.