FUCKING SERIOUSLY?!
Thank you for this comment, I never knew you could pass commands to ssh.
Thank you for this comment, I never knew you could pass commands to ssh.
Example:
dsh -Mg all-machines -F 20 'do something'
-M: Prepend any line of output with the machine that emitted it
-g: runs the group all-machines (just a text file in etc/dsh/group)
-F 20: forks at most 20 copies of ssh in the background so you don't overload the server you're running this from