how to disable http for clone

Deleted user July 20, 2016

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
Answer accepted
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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.

G__Sylvie_Davies__bit-booster_com_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2016

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

0 votes
G__Sylvie_Davies__bit-booster_com_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2016

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
TAGS
AUG Leaders

Atlassian Community Events