exec-it

0.0.5 • Public • Published

exec-it

Install

npm install exec-it

Run

For example, print uptime for hosts listed in host-list.txt file

cat host-list.txt | exec-it -c uptime

this module plays very well with ec2-instance-lister

Options

  • -c command to execute on remote machine
  • -f read command from a file, works only if -c is not specified
  • -p ssh port, default is 22
  • -l username on remote machine, default is ec2-user
  • -i private key, default is /a_home_dir/.ssh/id_rsa

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    8
  • 0.0.4
    1
  • 0.0.3
    1
  • 0.0.2
    1

Package Sidebar

Install

npm i exec-it

Weekly Downloads

11

Version

0.0.5

License

ISC

Last publish

Collaborators

  • grudzinski