From 44d270133421722ac0dfa0af9756b73d582f4d56 Mon Sep 17 00:00:00 2001 From: Gabe Date: Fri, 8 Dec 2017 11:59:13 -0700 Subject: [PATCH] Deprecate RhostsRSAAuthentication as it have been deprecated in 7.4 - Fixes #2478 --- shared/checks/oval/sshd_disable_rhosts_rsa.xml | 7 +++++-- shared/xccdf/services/ssh.xml | 9 +++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/shared/checks/oval/sshd_disable_rhosts_rsa.xml b/shared/checks/oval/sshd_disable_rhosts_rsa.xml index d7e00fafc..2abf88c70 100644 --- a/shared/checks/oval/sshd_disable_rhosts_rsa.xml +++ b/shared/checks/oval/sshd_disable_rhosts_rsa.xml @@ -15,8 +15,11 @@ - + + + + diff --git a/shared/xccdf/services/ssh.xml b/shared/xccdf/services/ssh.xml index 6edd47ab8..53c28faa9 100644 --- a/shared/xccdf/services/ssh.xml +++ b/shared/xccdf/services/ssh.xml @@ -603,6 +603,11 @@ following line in /etc/ssh/sshd_config:
RhostsRSAAuthentication no
+To check which SSH protocol version is allowed, check version of +openssh-server with following command: +
$ rpm -qi openssh-server | grep Version
+Versions equal to or higher than 7.4 have deprecated the RhostsRSAAuthentication option. +If version is lower than 7.4, run the following command to check configuration:
@@ -610,6 +615,10 @@ Configuring this setting for the SSH daemon provides additional assurance that remove login via SSH will require a password, even in the event of misconfiguration elsewhere. +As of openssh-server version 7.4 and above, +the RhostsRSAAuthentication option has been deprecated, and the line +
RhostsRSAAuthentication no
in /etc/ssh/sshd_config is not +necessary.