@@ -19,8 +19,6 @@ instructions will break installations using older versions of OpenSSH, such as
those included with CentOS 6 as of September 2017. If you want to use this
feature for CentOS 6, follow [the instructions on how to build and install a custom OpenSSH package](#compiling-a-custom-version-of-openssh-for-centos-6) before continuing.
<<<<<<< HEAD
## Fast lookup is required for GitLab Geo
By default, GitLab manages an `authorized_keys` file, which contains all the
...
...
@@ -34,51 +32,18 @@ secondary nodes, but note that the `Write to "authorized keys" file` checkbox
only needs to be unchecked on the primary node since it will be reflected
automatically on the secondary if database replication is working.
=======
>>>>>>> upstream/master
## Setting up fast lookup via GitLab Shell
GitLab Shell provides a way to authorize SSH users via a fast, indexed lookup
to the GitLab database. GitLab Shell uses the fingerprint of the SSH key to
check whether the user is authorized to access GitLab.
<<<<<<< HEAD
Create the directory `/opt/gitlab-shell` first:
```bash
sudo mkdir-p /opt/gitlab-shell
```
Create this file at `/opt/gitlab-shell/authorized_keys`: