From a8de96bff51846e160b76506dc0ca0fe6f767f64 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 5 Mar 2020 18:08:19 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/administration/operations/fast_ssh_key_lookup.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/administration') diff --git a/doc/administration/operations/fast_ssh_key_lookup.md b/doc/administration/operations/fast_ssh_key_lookup.md index 7d0fc43f810..0ee8f26b97c 100644 --- a/doc/administration/operations/fast_ssh_key_lookup.md +++ b/doc/administration/operations/fast_ssh_key_lookup.md @@ -54,8 +54,10 @@ Add the following to your `sshd_config` file. This is usually located at Omnibus Docker: ```plaintext -AuthorizedKeysCommand /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-authorized-keys-check git %u %k -AuthorizedKeysCommandUser git +Match User git # Apply the AuthorizedKeysCommands to the git user only + AuthorizedKeysCommand /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-authorized-keys-check git %u %k + AuthorizedKeysCommandUser git +Match all # End match, settings apply to all users again ``` Reload OpenSSH: -- cgit v1.2.1