Nekan

Comments

  • I'm digging up an old post. i had the same problem i solved it by creating a bash script : #!/bin/bash USER=your_usernamePASS=your_password ADDR=nwa_address timeout 30 sshpass -p $PASS ssh -oStrictHostKeyChecking=no $USER@$ADDR << EOF reboot EOF # End of script It only remains to add the script to the crontab. Example : #…
Avatar