Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-18 06:08:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-18 06:08:23 +0300
commit47e35934185ed4292b1b7ef365a3156cc3e0293f (patch)
tree3880aa972283ab7d88448b2b51af29e88b2c9da4 /doc/administration/git_protocol.md
parenta1565a8243dd2cce29d0489d5ed40f9291d828d4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/git_protocol.md')
-rw-r--r--doc/administration/git_protocol.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/administration/git_protocol.md b/doc/administration/git_protocol.md
index c1742ff87a7..436f1a55369 100644
--- a/doc/administration/git_protocol.md
+++ b/doc/administration/git_protocol.md
@@ -37,10 +37,9 @@ service is already configured to accept the `GIT_PROTOCOL` environment and users
need not do anything more.
For Omnibus GitLab and installations from source, you have to manually update
-the SSH configuration of your server:
+the SSH configuration of your server by adding the line below to the `/etc/ssh/sshd_config` file:
-```
-# /etc/ssh/sshd_config
+```plaintext
AcceptEnv GIT_PROTOCOL
```
@@ -69,7 +68,7 @@ GIT_TRACE_CURL=1 git -c protocol.version=2 ls-remote https://your-gitlab-instanc
You should see that the `Git-Protocol` header is sent:
-```
+```plaintext
16:29:44.577888 http.c:657 => Send header: Git-Protocol: version=2
```
@@ -105,7 +104,7 @@ GIT_SSH_COMMAND="ssh -v" git -c protocol.version=2 ls-remote ssh://your-gitlab-i
You should see that the `GIT_PROTOCOL` environment variable is sent:
-```
+```plaintext
debug1: Sending env GIT_PROTOCOL = version=2
```