# @troubkit/ssh-server

Latest version **1.3.3** (published 2021-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @troubkit/ssh-server
pnpm add @troubkit/ssh-server
yarn add @troubkit/ssh-server
bun add @troubkit/ssh-server
```

Provides the commands `ss`, `ssh-server`.

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.3 |
| Published | 2021-01-12 |
| First published | 2021-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 16 |
| Unpacked size | 144 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Aaron @Troublor |
| Maintainers | troublor |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/@troubkit/ssh-server
- Repository: Troublor/ssh-server
- Homepage: https://github.com/Troublor/ssh-server
- Issues: https://github.com/Troublor/ssh-server/issues
- npm.io page: https://npm.io/package/@troubkit/ssh-server

## Dependencies (16)

- [alfy](https://npm.io/package/alfy.md) ^0.10.0
- [tslib](https://npm.io/package/tslib.md) ^1
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.0.0
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1
- [@oclif/errors](https://npm.io/package/@oclif/errors.md) ^1.3.4
- [@oclif/parser](https://npm.io/package/@oclif/parser.md) ^3.8.5
- [@troubkit/cmd](https://npm.io/package/@troubkit/cmd.md) ^0.2.0-alpha.0
- [@troubkit/log](https://npm.io/package/@troubkit/log.md) ^0.2.0-alpha.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1
- [@oclif/dev-cli](https://npm.io/package/@oclif/dev-cli.md) ^1
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^3
- [@oclif/plugin-update](https://npm.io/package/@oclif/plugin-update.md) ^1.3.10
- [@oclif/plugin-commands](https://npm.io/package/@oclif/plugin-commands.md) ^1.3.0
- [@oclif/plugin-not-found](https://npm.io/package/@oclif/plugin-not-found.md) ^1.2.4
- [@oclif/plugin-autocomplete](https://npm.io/package/@oclif/plugin-autocomplete.md) ^0.3.0
- [@oclif/plugin-warn-if-update-available](https://npm.io/package/@oclif/plugin-warn-if-update-available.md) ^1.7.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.3.3 (latest) — 2021-01-12
- 1.3.2 — 2021-01-12
- 1.3.1 — 2021-01-12
- 1.3.0 — 2021-01-12
- 0.0.0 — 2021-01-12

## README

ssh-server
==========



[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/ssh-server.svg)](https://npmjs.org/package/ssh-server)
[![Downloads/week](https://img.shields.io/npm/dw/ssh-server.svg)](https://npmjs.org/package/ssh-server)
[![License](https://img.shields.io/npm/l/ssh-server.svg)](https://github.com/Troublor/ssh-server/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @troubkit/ssh-server
$ ssh-server COMMAND
running command...
$ ssh-server (-v|--version|version)
@troubkit/ssh-server/1.3.3 darwin-x64 node-v10.23.0
$ ssh-server --help [COMMAND]
USAGE
  $ ssh-server COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`ssh-server copy [SOURCE] [...] [TARGET]`](#ssh-server-copy-source--target)
* [`ssh-server port:close SERVER REMOTEPORT:LOCALPORT`](#ssh-server-portclose-server-remoteportlocalport)
* [`ssh-server port:list SERVER REMOTEPORT:LOCALPORT`](#ssh-server-portlist-server-remoteportlocalport)
* [`ssh-server port:open SERVER REMOTEPORT:LOCALPORT`](#ssh-server-portopen-server-remoteportlocalport)
* [`ssh-server shell [SERVER]`](#ssh-server-shell-server)

## `ssh-server copy [SOURCE] [...] [TARGET]`

open server shell

```
USAGE
  $ ssh-server copy [SOURCE] [...] [TARGET]

OPTIONS
  -H, --host=host                  host of the server
  -P, --port=port                  port of the ssh server
  -h, --help                       show CLI help
  -i, --identityFile=identityFile  path to ssh identity file to logon server
  -p, --password=password          password to logon server
  -q, --quiet
  -r, --recursive                  recursive copy
  -u, --username=username          username used to logon server
  --home=home                      home path on the server

ALIASES
  $ ssh-server cp

EXAMPLE
  $ ssh-server copy -r server:~/workspace ~/
```

_See code: [src/commands/copy.ts](https://github.com/Troublor/ssh-server/blob/v1.3.3/src/commands/copy.ts)_

## `ssh-server port:close SERVER REMOTEPORT:LOCALPORT`

close ssh local port forwarding

```
USAGE
  $ ssh-server port:close SERVER REMOTEPORT:LOCALPORT

ARGUMENTS
  SERVER                name of server predefined in config file
  REMOTEPORT:LOCALPORT  port forward pattern

OPTIONS
  -H, --host=host                  host of the server
  -P, --port=port                  port of the ssh server
  -h, --help                       show CLI help
  -i, --identityFile=identityFile  path to ssh identity file to logon server
  -p, --password=password          password to logon server
  -q, --quiet
  -r, --recursive                  recursive copy
  -u, --username=username          username used to logon server
  --home=home                      home path on the server

EXAMPLE
  $ ssh-server port:close remotePort:localPort ...
```

_See code: [src/commands/port/close.ts](https://github.com/Troublor/ssh-server/blob/v1.3.3/src/commands/port/close.ts)_

## `ssh-server port:list SERVER REMOTEPORT:LOCALPORT`

close ssh local port forwarding

```
USAGE
  $ ssh-server port:list SERVER REMOTEPORT:LOCALPORT

ARGUMENTS
  SERVER                name of server predefined in config file
  REMOTEPORT:LOCALPORT  port forward pattern

OPTIONS
  -H, --host=host                  host of the server
  -P, --port=port                  port of the ssh server
  -h, --help                       show CLI help
  -i, --identityFile=identityFile  path to ssh identity file to logon server
  -p, --password=password          password to logon server
  -q, --quiet
  -r, --recursive                  recursive copy
  -u, --username=username          username used to logon server
  --home=home                      home path on the server

EXAMPLE
  $ ssh-server port:close remotePort:localPort ...
```

_See code: [src/commands/port/list.ts](https://github.com/Troublor/ssh-server/blob/v1.3.3/src/commands/port/list.ts)_

## `ssh-server port:open SERVER REMOTEPORT:LOCALPORT`

open ssh local port forwarding

```
USAGE
  $ ssh-server port:open SERVER REMOTEPORT:LOCALPORT

ARGUMENTS
  SERVER                name of server predefined in config file
  REMOTEPORT:LOCALPORT  port forward pattern

OPTIONS
  -H, --host=host                  host of the server
  -P, --port=port                  port of the ssh server
  -h, --help                       show CLI help
  -i, --identityFile=identityFile  path to ssh identity file to logon server
  -p, --password=password          password to logon server
  -q, --quiet
  -r, --recursive                  recursive copy
  -u, --username=username          username used to logon server
  --home=home                      home path on the server

EXAMPLE
  $ ssh-server port:open localPort:remotePort ...
```

_See code: [src/commands/port/open.ts](https://github.com/Troublor/ssh-server/blob/v1.3.3/src/commands/port/open.ts)_

## `ssh-server shell [SERVER]`

open server shell

```
USAGE
  $ ssh-server shell [SERVER]

ARGUMENTS
  SERVER  name of server predefined in config file

OPTIONS
  -H, --host=host                  host of the server
  -P, --port=port                  port of the ssh server
  -h, --help                       show CLI help
  -i, --identityFile=identityFile  path to ssh identity file to logon server
  -p, --password=password          password to logon server
  -q, --quiet
  -r, --recursive                  recursive copy
  -u, --username=username          username used to logon server
  --home=home                      home path on the server

ALIASES
  $ ssh-server sh

EXAMPLE
  $ ssh-server shell [serverName]
```

_See code: [src/commands/shell.ts](https://github.com/Troublor/ssh-server/blob/v1.3.3/src/commands/shell.ts)_
<!-- commandsstop -->

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