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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

660 views 5 9
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