mpssh

Execute commands in parallel across multiple remote SSH hosts

brewmacoslinux
Try with needOr install directly
Source

About

Mass parallel ssh

Commands

mpssh

Examples

Run a command on multiple hosts listed in a file$ mpssh -f hosts.txt 'uptime'
Execute command on specific hosts with custom SSH port$ mpssh -p 2222 host1 host2 host3 'df -h'
Run interactive shell commands across 10 parallel connections$ mpssh -n 10 server1 server2 server3 'systemctl status nginx'