Skip to content

Commit a3a154a

Browse files
introduce instructions for re-enabling anonymous Git (github#31006)
Co-authored-by: Laura Coursen <[email protected]>
1 parent 0476d2e commit a3a154a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,18 @@ Anonymous Git read access is disabled by default.{% ifversion ghes = 3.4 or ghes
311311
The unauthenticated git protocol on port 9418 is no longer supported.
312312
```
313313

314-
If you wish to support the unathenticated Git protocol in your environment, you must manually re-enable the feature. {% data variables.product.company_short %} recommends using SSH instead of the Git protocol. For more information, see [{% data variables.product.prodname_blog %}](https://github.blog/2022-06-28-improving-git-protocol-security-on-github-enterprise-server).
314+
{% ifversion ghes > 3.5 %}
315+
316+
If you wish to support the unathenticated Git protocol in your environment, you must manually re-enable the feature. Run the following commands after your upgrade:
317+
318+
```ShellSession
319+
$ sudo ghe-config app.gitauth.git-protocol true
320+
$ sudo ghe-config-apply
321+
```
322+
323+
{% endif %}
324+
325+
Anonymous Git read access will be entirely removed in a future release of {% data variables.product.prodname_ghe_server %}. {% data variables.product.company_short %} recommends using SSH instead of the Git protocol. For more information about this change, see [{% data variables.product.prodname_blog %}](https://github.blog/2022-06-28-improving-git-protocol-security-on-github-enterprise-server).
315326

316327
{% endif %}
317328

0 commit comments

Comments
 (0)