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
Accepted answer
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
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 ...

250 views 3 7
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