0.0.5 • Published 10 years ago
exec-it v0.0.5
exec-it
Install
npm install exec-itRun
For example, print uptime for hosts listed in host-list.txt file
cat host-list.txt | exec-it -c uptimethis module plays very well with ec2-instance-lister
Options
-ccommand to execute on remote machine-fread command from a file, works only if-cis not specified-pssh port, default is 22-lusername on remote machine, default is ec2-user-iprivate key, default is/a_home_dir/.ssh/id_rsa