Skip to content

Update SSH database lookup instructions for CentOS 7.4

What does this MR do?

Stops directing CentOS 7 users to compile their own SSH server

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Since CentOS 7.4, support for AuthorizedKeysCommand %f %k has been present as the OpenSSH version was upgraded to 7.4

Release announcement: https://lists.centos.org/pipermail/centos-announce/2017-September/022532.html

Screenshots (if relevant)

lupine@gitlab-t470p:~/dev/gitlab.com/gitlab-org/gdk-ee/gitlab$ docker run --rm -ti centos:7 /bin/bash
[root@f7caf7889390 /]# yum info openssh
Loaded plugins: fastestmirror, ovl
base                                                                                            | 3.6 kB  00:00:00     
extras                                                                                          | 3.4 kB  00:00:00     
updates                                                                                         | 3.4 kB  00:00:00     
(1/4): extras/7/x86_64/primary_db                                                               | 101 kB  00:00:02     
(2/4): base/7/x86_64/group_gz                                                                   | 156 kB  00:00:02     
(3/4): updates/7/x86_64/primary_db                                                              | 2.8 MB  00:00:10     
(4/4): base/7/x86_64/primary_db                                                                 | 5.7 MB  00:00:11     
Determining fastest mirrors
 * base: mirror.cogentco.com
 * extras: repos.dfw.quadranet.com
 * updates: mirror.jax.hugeserver.com
Available Packages
Name        : openssh
Arch        : x86_64
Version     : 7.4p1
Release     : 12.el7_4
Size        : 509 k
Repo        : updates/7/x86_64
# ...

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Related to https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1471

Merge request reports