pssh
Parallel SSH program. tldr-pages
On several platforms
Several platforms
Run a command on two hosts, and print its output on each server inline
pssh --inline --host "host1 host2" hostname --ip-addressesIdentifyRun a command and save the output to separate files
pssh --host host1 --host host2 --outdir path/to/output_directory hostname --ip-addressesIdentifyRun a command on multiple hosts, specified in a new-line separated file
pssh --inline --hosts path/to/hosts_file hostname --ip-addressesIdentifyRun a command as root (this asks for the root password)
pssh --inline --hosts path/to/hosts_file --askpass --user root_username hostname --ip-addressesIdentifyRun a command with extra SSH arguments
pssh --inline --hosts path/to/hosts_file --extra-arg "-O VisualHostKey=yes" hostname --ip-addressesIdentifyRun a command limiting the number of parallel connections to 10
pssh --inline --hosts path/to/hosts_file -par 10 'cd dir; ./script.sh; exit'Identify