# ssh-transport-stream

> run a command on the other side of an ssh connection and get back results

Latest version **1.0.0** (published 2015-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install ssh-transport-stream
pnpm add ssh-transport-stream
yarn add ssh-transport-stream
bun add ssh-transport-stream
```

Provides the command `ssh-transport-stream`.

## 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 | 1.0.0 |
| Published | 2015-11-18 |
| First published | 2015-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Karissa McKelvey |
| Maintainers | karissa |

## Links

- npm: https://www.npmjs.com/package/ssh-transport-stream
- Repository: https://github.com/karissa/ssh-transport-stream
- Homepage: https://github.com/karissa/ssh-transport-stream#readme
- Issues: https://github.com/karissa/ssh-transport-stream/issues
- npm.io page: https://npm.io/package/ssh-transport-stream

## Dependencies (1)

- [ssh-exec](https://npm.io/package/ssh-exec.md) ^1.3.0

## Recent versions

- 1.0.0 (latest) — 2015-11-18

## README

# ssh-transport-stream

Run a command on the other side of an ssh connection and get back results.

## cli

#### Install
```
npm install -g ssh-transport-stream
```

#### `ssh-transport-stream [url] [command]`


```
$ ssh-transport-stream ssh://me:password@localhost:~ ls
Applications/
Documents/
Downloads/
dev/
```

## JS API

See cli.js for example.

```
npm install ssh-transport-stream
```

#### `ssh-transport-stream(url, command)`

```js
var ssh = require('ssh-transport-stream')
var stream = ssh(url, cmd)
stream.on('data', function (data) {
  console.log(data.toString())
})
```

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