I've got multiple computers in a LAN network that I monitor remotely, they're all running the same hardware and software. To monitor them I simply ssh in to one computer and then ssh off that on to the others.
I was wondering if it was possible to send a command to the computers through ssh, that was then broadcast to the computers in the LAN (within a certain ip-range!)? e.g. For all the computers I want the command 'ls -l' to be run, from the ip range 10.1.1.10 - 10.1.1.18.
Or could I have them, e.g., to all run a bash script from one command? Is this possible or do I need some 3rd party program to implement this?