rex

Execute commands on remote servers via SSH with Perl

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool which executes commands on remote servers

Commands

rex

Examples

Run a command on a single remote host$ rex -H user@hostname -e 'uname -a'
Execute commands defined in a Rexfile on multiple servers$ rex -f Rexfile -H 'user@server1' -H 'user@server2' task_name
List all available tasks in a Rexfile$ rex -f Rexfile -T