# 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.

Latest version **2.0.6** (published 2016-12-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install multissh
pnpm add multissh
yarn add multissh
bun add multissh
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.6 |
| Published | 2016-12-19 |
| First published | 2016-05-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alexandre Strzelewicz |
| Maintainers | tknew |

## Links

- npm: https://www.npmjs.com/package/multissh
- npm.io page: https://npm.io/package/multissh

## Dependencies (5)

- [async](https://npm.io/package/async.md) *
- [chalk](https://npm.io/package/chalk.md) *
- [moment](https://npm.io/package/moment.md) *
- [blessed](https://npm.io/package/blessed.md) *
- [ssh-exec](https://npm.io/package/ssh-exec.md) *

## Recent versions

- 2.0.6 (latest) — 2016-12-19
- 2.0.5 — 2016-09-04
- 2.0.4 — 2016-09-04
- 2.0.3 — 2016-09-01
- 2.0.2 — 2016-05-26
- 2.0.1 — 2016-05-26
- 1.0.7 — 2016-05-24
- 1.0.6 — 2016-05-24
- 1.0.5 — 2016-05-24
- 1.0.4 — 2016-05-14
- 1.0.3 — 2016-05-14
- 1.0.1 — 2016-05-12
- 1.0.0 — 2016-05-09

## README

# 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](asciicast.gif)

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

```javascript
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"

---
_Source: https://npm.io/package/multissh · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
