stash read only user access

Is it possible to make a read-only clone of a private repository using http protocol.

so a user could have a private repository and if i know the url to that repository, would it be possible to clone the repository.

2 answers

Hi Rajesh,

Definitely not, that would be a security problem. You can either get someone to grant you read access, or alternative add a deployment key (which would be over SSH).

If you don't mind me asking, what are you trying to do?


within a enterprise we want to be able to build the private repositories created by various users.

is there a way to have a global ssh key ?

I'm afraid not. You would have to add the deploment key to each repository. Can your users create their repositories in a project that has a deployment key, rather than private ones?

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,764 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