Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ramondrio Imanuel September 11, 2023 edited

Hi,

 

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?

Thanks

 

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,
Theodora

0 votes
Ramondrio Imanuel September 11, 2023

error pipelines.jpg

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events