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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,518
Community Members
 
Community Events
184
Community Groups

What is the best security to implement between Bitbucket Cloud and my on premise Linux server as far as transferring code and files back and forth? Ideally we want the request to originate from our on premise Linux server to our repository in Bitbucket Cloud so we don't have to open inbound ssh and sftp ports on our firewall.  Does anyone have experience doing this?

 

Thanks

Justin 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 07, 2022

Hi Justin and welcome to the community!

I cannot advise you on security practices on your server, I just wanted to mention that if the server is behind a firewall, the following page lists the IP addresses that need to be whitelisted and the ports that Bitbucket uses:

Additionally, if your workspace is on the Premium plan you can make use of the "IP allowlisting" so that the repositories on your workspace can be accessed only by specific IPs that you specify. You can check the doc below, specifically the section "Allowlisting IP addresses"

Kind regards,
Theodora

What about pipeline runners? Do you know about them? 

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 11, 2022

Hi Justin,

If you use Pipelines Runners on a server behind a firewall, you will need to whitelist the IP ranges listed on this page:

Additionally, if you have a Premium workspace with IP Whitelisting enabled (from workspace's Settings > Access controls), then you must include on the list "IP allowlisting" the IP addresses of your Runner hosts.

Kind regards,
Theodora

Yeah that's not secure. I already know this.  Any organization that would allow that many IPs open to incoming SSH calls into their network would be stupid.  You just don't open inbound SSH.  I could live with outbound where our internal server initiated the call but we are a government agency.  We don't 'whitelist'.  We open communications port by port or by protocol.  Would you allow someone to RDP or SSH into your desktop whenever they wanted to? How about 1000 different IP's SSH or RDP into your desktop? Can't trust a SaaS vendor when you have no control over their security or infrastructure.  I was looking for.   

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 14, 2022

Hi Justin,

If you don't want to allow access to our IPs, you can look into using the Data Center version of Bitbucket instead, which can be installed on your own infrastructure https://www.atlassian.com/software/bitbucket/enterprise/data-center

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events