From d29ce82eabac045093168ea3eabb1f5338d3c4b3 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Oct 24 2020 10:12:10 +0000 Subject: Fix OpenSSH PasswordAuthentication doc --- diff --git a/modules/system-administrators-guide/pages/infrastructure-services/OpenSSH.adoc b/modules/system-administrators-guide/pages/infrastructure-services/OpenSSH.adoc index c3821c3..e6bb3c9 100644 --- a/modules/system-administrators-guide/pages/infrastructure-services/OpenSSH.adoc +++ b/modules/system-administrators-guide/pages/infrastructure-services/OpenSSH.adoc @@ -1,4 +1,3 @@ - :experimental: include::{partialsdir}/entities.adoc[] @@ -259,7 +258,10 @@ See xref:infrastructure-services/Services_and_Daemons.adoc#ch-Services_and_Daemo [[s2-ssh-configuration-keypairs]] === Using Key-based Authentication indexterm:[OpenSSH,using key-based authentication] -To improve the system security even further, generate SSH key pairs and then enforce key-based authentication by disabling password authentication. To do so, open the `/etc/ssh/sshd_config` configuration file in a text editor such as [application]*vi* or [application]*nano*, and change the [option]`PasswordAuthentication` option as follows: +To improve the system security even further, generate SSH key pairs and then enforce key-based authentication by +disabling password authentication. To do so, open the `/etc/ssh/sshd_config.d/50-redhat.conf` configuration file in a +text editor such as [application]*vi* or [application]*nano*, and change the [option]`PasswordAuthentication` option as +follows: [subs="quotes"] ----