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 https://confluence.atlassian.com/bitbucketserver/disabling-http-s-access-to-git-repositories-in-bitbucket-server-776640365.html 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, bit-booster.com

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