quick_jibri_installer.sh: update and fix for newer release (2025) #118
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue