gssh

SSH automation tool using Groovy DSL for infrastructure management

brewmacoslinux
Try with needOr install directly
Source

About

SSH automation tool based on Groovy DSL

Commands

gssh

Examples

Execute a command on remote hosts defined in a Groovy script$ gssh -f deploy.groovy
Run SSH commands with Groovy DSL syntax for multiple servers$ gssh -e 'remoteExec { host("server1.com") { exec "uptime" } }'
Display version and available options$ gssh --version