{
 "kind": "tool",
 "slug": "ssh2",
 "path": "tools/ssh2/",
 "name": "ssh2",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP clients and networking",
   "tools/http-clients/"
  ]
 ],
 "lead": "Pure JavaScript SSH2 client and server for Node.js.",
 "chips": [
  {
   "label": "HTTP clients and networking",
   "path": "tools/http-clients/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install ssh2"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/mscdex/ssh2"
  },
  {
   "label": "Website",
   "href": "https://github.com/mscdex/ssh2#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from GitHub.",
   "src": "https://github.com/mscdex/ssh2"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Aug 20, 2026",
   "note": "",
   "src": "https://github.com/mscdex/ssh2"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "17 projects",
   "status": "info",
   "sub": "#24 of 126 in its category",
   "note": "Dependency in 17 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What ssh2 does",
   "parts": [
    {
     "t": "prose",
     "text": "Pure JavaScript SSH2 client and server for Node.js."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "ssh2 popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "64",
       "of": "/ 100",
       "l": "Gid Score, #758 overall"
      },
      {
       "n": "22.3M",
       "l": "downloads a week, npm"
      },
      {
       "n": "5,827",
       "l": "GitHub stars"
      },
      {
       "n": "17",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How ssh2 is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "ssh2 is a dependency in 17 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 39 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use ws (64.1%), Playwright (JavaScript) (66.7%), node-pty (48.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "12 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 64.1% of its projects",
       "v": "ws",
       "path": "tools/ws/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "Playwright (JavaScript)",
       "path": "tools/playwright-test/"
      },
      {
       "l": "In 48.7% of its projects",
       "v": "node-pty",
       "path": "tools/node-pty/"
      },
      {
       "l": "In 46.2% of its projects",
       "v": "xterm.js",
       "path": "tools/xterm-xterm/"
      },
      {
       "l": "In 46.2% of its projects",
       "v": "Husky",
       "path": "tools/husky/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 41.0% of its projects",
       "v": "Anthropic SDK",
       "path": "tools/anthropic-ai/"
      },
      {
       "l": "In 92.3% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about ssh2",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in HTTP clients and networking",
       "path": "tools/http-clients/",
       "items": [
        {
         "text": "Axios",
         "path": "tools/axios/"
        },
        {
         "text": "Requests",
         "path": "tools/requests-py/"
        },
        {
         "text": "httpx",
         "path": "tools/httpx/"
        },
        {
         "text": "ws",
         "path": "tools/ws/"
        },
        {
         "text": "postgres",
         "path": "tools/postgres/"
        },
        {
         "text": "aiohttp",
         "path": "tools/aiohttp/"
        },
        {
         "text": "websockets",
         "path": "tools/websockets/"
        },
        {
         "text": "redis (Python)",
         "path": "tools/redis-pypi/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "ssh2",
       "me": true,
       "facts": [
        "MIT",
        "Gid 64",
        "22.3M/wk"
       ]
      }
     ],
     "more": "Compare ssh2 with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install ssh2"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for ssh2 yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm ssh2"
  ],
  [
   "Category",
   "HTTP clients and networking"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "63.6"
  ],
  [
   "Rank in category",
   "#24 of 126"
  ],
  [
   "GitHub",
   "mscdex/ssh2"
  ],
  [
   "Last change",
   "Aug 20, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/mscdex.png"
}