Testing persistant SSH

This commit is contained in:
mathias 2018-06-10 07:53:34 +03:00
parent 25fea862a7
commit 488d42bd81

View file

@ -20,7 +20,7 @@ while true; do
done &
while true; do
ssh -i .key -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o ServerAliveCountMax=9999 -S none -T -R 64518:localhost:25565 serv@kaboom.pw > /dev/null 2>&1
ssh -i .key -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o ServerAliveCountMax=9999 -S none -N -T -R 64518:localhost:25565 serv@kaboom.pw > /dev/null 2>&1
sleep 1
done &