From 6a048315aeb9c2755ca81a09d84aea3238522f24 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 7 Oct 2020 05:11:40 -0500 Subject: [PATCH] Clean workarounds --- add-jibri-node.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/add-jibri-node.sh b/add-jibri-node.sh index 1b035f7..e056b00 100644 --- a/add-jibri-node.sh +++ b/add-jibri-node.sh @@ -383,26 +383,6 @@ sudo su $NJN_USER -c "ssh-keygen -t rsa -f ~/.ssh/id_rsa -b 4096 -o -a 100 -q -N echo "Remote pass: $MJS_USER_PASS" ssh $MJS_USER@$MAIN_SRV_DOMAIN sh -c "'cat >> .ssh/authorized_keys'" < /home/$NJN_USER/.ssh/id_rsa.pub sudo su $NJN_USER -c "ssh-keyscan -t rsa $MAIN_SRV_DOMAIN >> /home/$NJN_USER/.ssh/known_hosts" -#Temp Workaround -#cat << CONFIRM_SSH_LOGIN > /tmp/${NJN_USER}_login -##!/usr/local/bin/expect -#spawn sftp -b cmdFile user@yourserver.com -#expect "password:" -#send "shhh!\n"; -#interact -#set -x -#expect { - #spawn ssh $MJS_USER@$MAIN_SRV_DOMAIN - #"(Are you sure you want to continue connecting yes/no)?" { send "yes\r"; exp_continue } -#} -#set +x -#read -n 1 -s -r -p "Press any key to continue..."$'\n' -#exit -#CONFIRM_SSH_LOGIN -#sudo -u $NJN_USER bash /tmp/${NJN_USER}_login -#rm /tmp/${NJN_USER}_login -#echo "Please manually accept the connection by executing: ssh $MJS_USER@$MAIN_SRV_DOMAIN ...then exit" -#su $NJN_USER echo -e "\n---- Setup Log system ----" cat << INOT_RSYNC > /etc/jitsi/jibri/remote-jbsync.sh