Source IP for Fetch Host Fingerprint

Jacob Bushnell
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!
October 19, 2023

We are having issues getting our pipeline setup. It appears to be because our webservers firewall blocks port 22 by default.

When I opened the port to all inbound traffic it was able to successfully fetch the fingerprint. However we cannot leave our host exposed on port 22 to the world as that is too risky.

I added ALL the known Outgoing Connections IP ranges from this list here:
https://support.atlassian.com/organization-administration/docs/ip-addresses-and-domains-for-atlassian-cloud-products/

However even after doing that it still is not allowing BitBucket to Fetch the host fingerprint OR setup Pipelines. We get this error after setup.

ssh: connect to host 13.58.160.93 port 22: Connection timed out

Are there more IP addresses that are not on the list, or is there  a way to identify what IP BitBucket is using to establish the Pipelines?

Thank you,
Jacob

3 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2023

Hi Jacob,

You can find the IPs used by Bitbucket Pipelines environments on this page, section Valid IP addresses for Bitbucket Pipelines build environments:

You need to whitelist these IP ranges for a successful SSH connection from Pipelines.

Please feel free to reach out if you have any questions!

Kind regards,
Theodora

0 votes
Jacob Bushnell
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!
October 19, 2023

@Saxea _Flowie_ that is interesting...  How can I get terminal access to the BitBucket servers? I did not think such a thing was possible!

I will check into accessing the weblogs to see if I can identify the address in use.

Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2023

You can't access the terminal. My understanding is that you are trying to access this server via the pipelines? If that is the case you put the command in your pipeline script.

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2023

Hi @Jacob Bushnell

You try 'curl icanhazip.com' to double check the ip, but additionally to that, I think it's more reliable to check the firewall logs.

Suggest an answer

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

Atlassian Community Events