Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Source IP for Fetch Host Fingerprint

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.
Oct 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

@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.
Oct 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.
Oct 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events