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?
closed as too broad by hardillb, Sean Houlihane, Mahendra Gunawardena, Helmar♦ Apr 26 at 9:05
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.