How can I download files from a repo with bitbucket

How can I download files from a repo with bitbucket?

I have looked through docs and cannot find anywhere an example of how this might be achieved.

I want to distribute updates but only to those that have a ssh key rather than using simple auth.

It works by looking at versions.gz file and then getting the most recent download. Is this possible with ssH?


Is there a way to authenticate others to download updates from my repository, or is this just a limitation of bitbucket and you must use public repo’s and to use private repo's give out your password with basic auth and cross fingers.

Code example in python


1 answer

0 vote

Hi Tyson, at the moment it's not possible to do what you're asking for. If you want people to be able to download files from your downloads section, you'll need to make your repo public so everybody can access it, or the people that wants to download it will need to have a Bitbucket account and have permissions to access the repo.

We don't recommend you to share your account credentials with anyone, they can create free Bitbucket accounts with their own credentials and they can be granted read-only permissions.

I found this feature request that you might be interested in, you can vote for it at

Right now it's closed, but if more people show interest they might consider re-opening it again.

Hope that helps!


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,745 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you