# node-rpc-rsh

> This is simple implementation of RSH using RPC (remote procedure call). Communication is based on JSON-RPC standard and `node-json-rpc` npm packet.

Latest version **0.0.2** (published 2018-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-rpc-rsh
pnpm add node-rpc-rsh
yarn add node-rpc-rsh
bun add node-rpc-rsh
```

Provides the commands `nrpc`, `nrps`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-09-23 |
| First published | 2018-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rafał Rudol |
| Maintainers | rudol |
| Keywords | nodejs, rpc |

## Links

- npm: https://www.npmjs.com/package/node-rpc-rsh
- npm.io page: https://npm.io/package/node-rpc-rsh

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [node-json-rpc](https://npm.io/package/node-json-rpc.md) 0.0.1

## Recent versions

- 0.0.2 (latest) — 2018-09-23
- 0.0.1 — 2018-09-23

## README

## Introduction

This is simple implementation of RSH using RPC (remote procedure call).
Communication is based on JSON-RPC standard and `node-json-rpc` npm packet.

## Instalation

```
npm i -g node-rpc-rsh
```

## How to use

Run server on host machine:

```
nrps 0.0.0.0
```

Run client on user machine and provide server ip address and command as arguments.

```
nrpc 192.168.1.100 ls
```

Passing arguments:

```
nrpc 192.168.1.100 ls -l
```

Piping input:

```
ls -l | nrpc 192.168.1.100 grep pac
```

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