Pipeline can't connect to my server with ssh

Antoine
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!
December 25, 2023

Hi,

I'm trying to set a ssh pipeline (atlassian/ssh-run:0.7.1) to execute a deployment script on my server.

I generated a pair of private/public key in my bitbucket repo. The public one is authorized on my server. My server is also protected by ip whitelist. When running the pipeline get stuck with "ssh: connect to host xx.xx.xx.xx port 22: Operation timed out". So, I'm trying to find out what is bitbucket cloud pipeline ip or domain to allow it.

Does anyone could solve this ?

Thank you :)

1 answer

2 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 26, 2023

Hello @Antoine ,

thank you for reaching out to Community!

For pipelines to be able to access external services, the following IP addresses should be allowed in your firewall : 

Those are the IP ranges used in the build environments of Bitcket Pipelines. After adding those IPs to your firewall you can try running your pipeline again to test if the connection succeeds.

Hope that helps!

Thank you, @Antoine !

Patrik S

Suggest an answer

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

Atlassian Community Events