Shutdown of My Cloud FW 2.30.181 using SSH

I’m using a MacOS X on my network and I find very easy to use its built-in Terminal:
$$ ssh sshd@[IP address] halt -p
I’m asked for connection confirmation and then for ssh password, and it’s done.

Previously I had enabled ssh in the MyCloud Settings/Network Services, providing my password.
I think I’ll stick with it.