From 02074e7a338944b17b8292578400b13993875fa1 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 7 Oct 2020 05:13:32 -0500 Subject: [PATCH] Allowing password auth for initial node validation --- quick_jibri_installer.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index f23651b..5a7cdee 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -826,6 +826,10 @@ echo "$MJS_USER:$MJS_USER_PASS" | chpasswd #Create ssh key and restrict connections sudo su $MJS_USER -c "ssh-keygen -t rsa -f ~/.ssh/id_rsa -b 4096 -o -a 100 -q -N ''" +#Allow password authentication +sed -i "s|PasswordAuthentication .*|PasswordAuthentication yes|" /etc/ssh/sshd_config +systemctl restart sshd + #sudo su $MJS_USER -c "rm ~/.ssh/id_rsa.pub" #sudo su $MJS_USER -c "cat ~/.ssh/authorized_keys"