Skip to content

multihost remote command executor

Notifications You must be signed in to change notification settings

danishjatmiko/rexec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Remote Exec

Simple go package to exec command remotely.

Getting Started

go get -u github.com/ahmadmuzakki29/rexec

Usage

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

Thanks

About

multihost remote command executor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%