2.0.6 • Published 8 years ago

multissh v2.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

MultiSSH

Multi screen termcaps UI to execute a command into a list of servers. This module will ssh into each host passed in arguments and execute the command.

asciicast

NB: Make sure you have your SSH pub key into each host via $ ssh-copy-id user@ip

var multissh = require('multissh');

// Execute command `ls -al` in each host
multissh.start({
 cmd : 'ls -al',
 title : 'Doing a file listing',
 server_list : [{
    ip   : ip,
    user : user,
    key  : 'rsa_pub.key', // Optional key
    local: true // Exec command via exec instead of ssh
  },{
    ip : ip,
    user : user
  }],
 }, function(cb) {
  // Optionnal callback
});

Misc commands

IP : hostname -I | cut -d " " -f1 Remove interactive checks: "grep "case \$-" .bashrc && sed -i '5,9d' .bashrc"

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

9 years ago

2.0.1

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago