Forums

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

key_parse_private2: missing begin marker

Paranikumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2025

I generated SSH key from SSH key section bitbucket and running this in piepline

 

ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no -v test@12.34.44

But it still shows this error

key_parse_private2: missing begin marker

But I can't even see the private key

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2025

Hi @Paranikumar and welcome to the community!

I would like to ask a few questions so I can better help you:

  1. Could you please let me know if the Pipelines step with the SSH command runs on Atlassian's infrastructure or with a self-hosted runner?

  2. If the step runs with a self-hosted runner, which one is it? Linux Docker, Linux Shell, MacOS, or Windows runner?

    Pipelines SSH keys are not supported for the last three types of runners, so I would like to ensure I give you correct guidance depending on your setup.

  3. Could you also please share the full output you get from the SSH command? Please make sure you sanitize private data in the output, if any, before sharing.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events