# steelbrain/node-ssh

SSH2 with Promises

Repository: https://github.com/steelbrain/node-ssh
Canonical: https://ross.abutalabs.com/products/node-ssh
Homepage: https://node-ssh.com/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-06-29T02:16:45+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 8, longevity 100
- inputs: {"age_days": 4271, "days_push": 66, "days_rel": 532, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1005, forks 94 (observed 2026-09-03T02:15:18.127664+00:00)

## What it is
A lightweight Promise-based wrapper around the ssh2 library for Node.js, providing a modern async API for SSH connections. It supports command execution and file/directory transfers via SFTP.

## Use cases
- run remote commands over ssh from node.js
- upload files to a server via sftp
- download files from a remote host
- recursively transfer directories over ssh
- automate deployment tasks over ssh
- execute commands with stdout/stderr streaming

## When to choose
- you want a clean promise-based SSH API in Node.js instead of callback-based ssh2
- you need simple file or directory upload/download over SFTP
- you're scripting remote server automation or deployment in JavaScript

## When to avoid
- you need low-level control over SSH channels and streams that raw ssh2 exposes
- you're not using Node.js
- you need SSH features like port forwarding or tunneling not covered by the wrapper

## Facets
- artifact type: library
- maturity: active
- function: ssh, file-system, developer-tools
- domain: developer-tools
- platform: cross-platform
- tags: ssh2, sftp, promise-wrapper, remote-execution, file-transfer, command-line, automation, devops, nodejs

## Member repositories
- steelbrain/node-ssh (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:18.127664+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:13:40.445904+00:00, confidence not recorded.
  - readme: https://github.com/steelbrain/node-ssh (fetched 2026-09-03T02:15:18.127664+00:00, sha 7bcdb14e2ca2)
  - homepage: https://node-ssh.com/ (fetched 2026-08-29T13:13:26.969913+00:00, sha 7906b460b560)
  - registry_npm: https://registry.npmjs.org/node-ssh (fetched 2026-08-29T13:13:26.973938+00:00, sha e4643e39d2e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
