Simple go package to exec command remotely.
go get -u github.com/ahmadmuzakki29/rexec
rexec [-h <hosts>|-e] <command>
# example of executing command remotely
# single server
rexec -h [email protected] tail -f /var/log/nginx/access.log
# multiple server
rexec -h [email protected],[email protected] zgrep 500 /var/log/nginx/access.log.1.gz
# using file config
rexec grep 500 /var/log/nginx/access.log
# edit file config
rexec -e