Shutdown Netgear Readynas remotely

As repsonse to this Replicate this curl command in node red flow closed topic from @voodoobg.

This is an easier way to shutdown your Netgear Readynas remotely. No need to use curl. Works flawless for me
It makes uses of the node-red-contrib-ssh-coco node where you can send remote ssh commands. With this your can use rnutil on your Readynas to issue a shutdown command rnutil rn_shutdown.
You have to enable SSH on your NAS.

You can also use if for other rnutil commands, type rnutil help for more options in your SSH shell.


[{"id":"3b33a81f.687cf8","type":"ssh-client-v2","z":"4848ceba.8c24d","debug":false,"ssh":"","hostname":"","name":"Readynas314","x":460,"y":340,"wires":[[]]},{"id":"31c10a3d.d6112e","type":"inject","z":"4848ceba.8c24d","name":"","topic":"","payload":"rnutil rn_shutdown","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":230,"y":340,"wires":[["3b33a81f.687cf8"]]}]