mpssh

Run SSH commands in parallel across multiple hosts.

brewmacoslinux
Try with needOr install directly
Source

About

Mass parallel ssh

Commands

mpssh

Examples

run command on multiple servers at once$ mpssh -h server1,server2,server3 'uptime'
execute script on all hosts from a file$ mpssh -f hostlist.txt 'sudo apt update && sudo apt upgrade -y'
check disk usage across several machines$ mpssh -h web1,web2,web3,web4 'df -h /'
copy file to multiple servers in parallel$ mpssh -h host1,host2,host3 -c 'scp config.yml :/etc/app/'
run command with custom SSH port on multiple hosts$ mpssh -h server1,server2 -p 2222 'systemctl status nginx'