mussh

Execute SSH commands across multiple hosts in parallel

brewmacoslinux
Try with needOr install directly
Source

About

Multi-host SSH wrapper

Commands

mussh

Examples

Run a command on multiple hosts listed in a file$ mussh -h hosts.txt -c 'uptime'
Execute command on specific hosts with custom SSH options$ mussh -h host1,host2,host3 -c 'df -h' -o '-p 2222'
Run command with specified number of parallel connections$ mussh -h hosts.txt -c 'systemctl restart nginx' -P 5