diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 50625ed..f108e49 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -913,10 +913,11 @@ useradd -m -g jibri "$MJS_USER" 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 ''" +sudo su "$MJS_USER" -c "ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -o -a 200 -q -N ''" #Allow password authentication sed -i "s|PasswordAuthentication .*|PasswordAuthentication yes|" /etc/ssh/sshd_config -systemctl restart sshd +systemctl daemon-reload +systemctl restart ssh.service ssh.socket #Setting varibales for add-jibri-node.sh sed -i "s|MAIN_SRV_DIST=.*|MAIN_SRV_DIST=\"$DIST\"|" add-jibri-node.sh