Shutdown via SSH
/sbin/poweroff
Reboot via SSH
reboot
If shutting down from windows cmd line or batch script, this works ..
Setup a SSH session from putty using port 22. And save the session as QNAP-Name
in the same directory where putty is installed create a txtfile called poweroff.txt within that file type poweroff and save.
Assuming your credentials are admin/admin run
CD C:[where putty is installed]putty.exe -load "QNAP-Name" -l admin -pw admin -m poweroff.txt
Update Firmware via SSH
See here:
NAS Firmware Recovery Guide
See here:
QNAP NAS web GUI interface timing out
See here: