diff options
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/operations/fast_ssh_key_lookup.md | 6 |
1 files changed, 4 insertions, 2 deletions
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: |