Page 1 of 1

SqueezeOS Reboot Script

Posted: Tue Dec 15, 2015 11:51 am
by wcndave
Sometimes (weekly) my jogglers just freeze up, and I plan to mount some in the wall and use PoE which means a reboot requires going to data cabinet and unplugging / replugging which is not very WAF friendly.

I have a NAS with an intranet site, I was thinking I could create a link which runs a script that does ssh into joggler and reboots it.

Has anyone tried or created any bash scripts which do ssh@joggler (without password prompt) and then I could modify to issue sudo shutdown -r now?

Re: SqueezeOS Reboot Script

Posted: Thu Dec 17, 2015 1:06 am
by johnnygal
I shut mine down at night using Putty (plink) with the command
plink -ssh joggler@<ip address> -pw <password> sudo shutdown -h now