Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket pipelines error Load key /root/.ssh/pipelines_id

Ramondrio Imanuel September 11, 2023



I want to test deploy to our production instances in google cloud platform.

When pipelines step run, it always shows error Load key /root/.ssh/pipelines_id : error in libcrypto.

user@emote_host : permission denied (publickey)


Is there any solution for this?



error pipelines.jpg

2 answers

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2023

Hi Ramondrio,

This specific error (Load key /root/.ssh/pipelines_id : error in libcrypto) usually shows when there is a problem with the SSH key's format.

I would suggest checking the following:

  • I see that you are using the variable SSH_KEY in the scp-deploy pipe. Did you base-64 encode the private SSH key locally and did you pass the base-64 encoded value in the variable?
  • Check the private key file locally and see if it is perhaps corrupted or if it is missing a new line at the end. In case it is missing a new line at the end, add it, save the file, then base-64 encode it again and add the new value in the variable.

Kind regards,

0 votes
Ramondrio Imanuel September 11, 2023

error pipelines.jpg

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events