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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

170 views 20 8
Join discussion

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