Fix the SSH command

This commit is contained in:
Andreas Zweili 2022-05-20 13:35:18 +02:00
parent 85632d6fad
commit 67b19dd765
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ do
continue
fi
echo "reboot $fqdn"
ssh -i rsa_ey 'sudo reboot'
ssh -i $rsa_key $fqdn 'sudo reboot'
echo
echo
done