parallel-ssh

Send commands to multiple hosts over SSH.

Create a file named ssh-hosts with the username, hostname, and ports:

[email protected]:22
[email protected]:22
[email protected]:22

Execute a single command, no timeout, and print output on console:

parallel-ssh -i -t 0 -h ssh-hosts echo hello