If you absolutely need something to shutdown your cloud just as you are shutting down your PC… I found these two links for you…
- just test out the remote shutdown from this link.
http://community.wd.com/t5/WD-ShareSpace/Remote-shutdown-with-SSH-please-help/td-p/162090
- then create a script/batch file containing that one line and add the script to the shutdown
http://lifehacker.com/use-group-policy-editor-to-run-scripts-when-shutting-do-980849001
or if you don’t have group policy editor then create your own shutdown script - called Myshutdown.bat - and do whatever you were going to do in your script which is to call the remote SSH shutdown and then at the end of it call shutdown /a. Then execute your bat file instead of the normal shutdown.
I hope this helps…
good luck…