I have a few terabytes of data that are processed by a tool. The output of the tool should be sent to two other machines simultaneously (simultaneously, because there's downtime while the tool runs and I want to limit the downtime).
If I just pipe from one machine then it's easy:
tool terabyte.txt | ssh email@example.com /sbin/process-input
but how can I send the data to multiple machines simultaneously?
I do not mind if the situation involves other software or scripts. it doesn't have to be a "pure ssh" solution.