I have 50 something Linux machines (RHEL). I want to run some commands on these machines from a go script running on a central machine. I have setup password-less ssh authentication to all of them from the central machine to all the remote machines. Though I'm open to non-ssh solutions too, though something secure is preferred.
The commands being run would change over time. I would also want to process the output and return codes of commands being run on the remote machines in my script running on central machine.
I only found this ssh package, which supports only password authentication method, which is not good enough.
Any other options?