From ca78b664c9a85fd0daf92a51bfebf7db5b33f017 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 28 Apr 2021 14:06:57 -0400 Subject: [PATCH] Get rid of minor warning about RSAAuthentication --- confluent_osdeploy/el8/profiles/default/scripts/pre.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh index ed03476a..19cf330c 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh @@ -54,6 +54,8 @@ for pubkey in /etc/ssh/ssh_host*key.pub; do curl -sf -X POST -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $(cat /etc/confluent/confluent.apikey)" -d @$pubkey https://$mgr/confluent-api/self/sshcert > $certfile echo HostCertificate $certfile >> /etc/ssh/sshd_config.anaconda done +grep -v RSAAuthentication /etc/ssh/sshd_config.anaconda > /etc/ssh/sshd_config.anaconda.new +mv /etc/ssh/sshd_config.anaconda.new /etc/ssh/sshd_config.anaconda /usr/sbin/sshd -f /etc/ssh/sshd_config.anaconda if [ -f "/run/install/cmdline.d/01-autocons.conf" ]; then consoledev=$(cat /run/install/cmdline.d/01-autocons.conf | sed -e 's!console=!/dev/!' -e 's/,.*//')