how to disable http for clone

We are using Stash version 3.7.1.

Is it possible to disable http for git?  I have been asked to force all developers to use SSH protocol for git access.

Documentation at does not seem to apply.

2 answers

1 accepted

2 votes
Jeff Thomas Atlassian Team Jul 20, 2016

The option to disable HTTP for Git operations was added in Stash 3.11. An upgrade to at least that version will allow you to do this.

Oops - I never imagined this wouldn't be possible, but I've only been on Bitbucket since 4.0.

Uncheck the config option under Administration --> Server Settings --> HTTP(S) SCM hosting --> HTTP(S) enabled.


- Regards,
Sylvie Davies
Founder and Software Engineer,

p.s.  Be sure to try out my add-on: Bit-Booster for Bitbucket Server.  It's the best commit graph add-on for Bitbucket Server. Improves your team's ability to see what's happening in your Git repositories. Don't forget to enable the included Bit-Booster hook to prevent foxtrot merges in master.

Suggest an answer

Log in or Join to answer
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...

638 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot