# ssh2 — card for AI agents

Pure JavaScript SSH2 client and server for Node.js.

Category: HTTP clients and networking · npm package `ssh2` · latest version 1.17.0 (checked 2026-11-01)
Install: `npm install ssh2`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 63.6 (#758 of all tools, 29 of 126 in its category)
- Used in 17 public projects set up for AI coding agents (0.3%)
- Downloads last week: 22,274,851 (as of 2026-11-24), +55.6% over 4 weeks
- GitHub stars: 5,827 (as of 2026-11-24)
- Last push: 2026-08-20

## Often used with
ws 64.1%, Playwright (JavaScript) 66.7%, node-pty 48.7%, xterm.js 46.2%, Husky 46.2%, Zod 66.7%

## Links
- AgentGid page: https://agentgid.com/tools/ssh2/
- Homepage: https://github.com/mscdex/ssh2#readme
- Repository: https://github.com/mscdex/ssh2

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
