Forums

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

SSH keys isseu when using self-runners

nenadcvetkovic84
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!
July 9, 2025

Hi

We are trying to run a self-runner for Bitbucket for development and some testing. But I have a problem with SSH key. 


What did I do:
- SSH key created in pipelines > ssh-keys 

image.png

- new SSH key added to server (added to ~/.ssh/authorized_keys) through SSH KEY Management - key exists in file 

- A new runner added to pipelines > runners
image.png

- bitbucket-pipeline.yml

image.png

- Runner: I'm running on my local pc (tested also on a remote server)

After running the pipeline on the git change, I see only an error, and the pipeline stops

image.png

If we run on Bitbucket Runner, there are no errors and everything works.

 

 

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 10, 2025

Hi @nenadcvetkovic84 

Those steps seem correct, and this would be supported by Atlassian Cloud runners executing the build without issues.

To troubleshoot this further - we will need access to your runner logs, YAML config/pipelines settings. For this - our system requires that you raise a support ticket. As you have access to a paid workspace - you can raise a support ticket from the link below:

If you have issues raising a support ticket, please let me know your timezone so I can raise one on your behalf with the team that operates within your region.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events