Command line switch: shutdown remote via ssh

What are the permissions on the keys you’re using?
I think i used the thread

https://help.ubuntu.com/community/SSH/OpenSSH/Keys

When I was working through my solution…
There were a bunch of similar tutorials. I bookmarked these ones so they must’ve been useful…