I would like to send a command with some predetermined number of arguments to a Raspberry Pi and get the output back from it. I was thinking of using restricted ssh key but was wondering if that is the best way. This command doesn't need to be sent frequently, maybe it can be sent every 10 minutes. Also the string that the command returns is about 100 characters. I'm looking for a secure and easy to maintain way to achieve this. In terms of security I think this is good but I think setting this up is a bit tedious. Is there any better way?