mscdex/ssh2

SSH2 client and server modules written in pure JavaScript for node.js

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 11 minutes ago
Added to GitGenius on September 11th, 2026
Created on August 3rd, 2012
Open Issues & Pull Requests: 106 (+0)
GitHub issues: Enabled
Number of forks: 734
Total Stargazers: 5,821 (+0)
Total Subscribers: 119 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 hours
Mean response time: 16.5 days
90th percentile: 6.2 days
Tracked items: 72

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 8% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 28
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 625 days
Stale 30+ days: 24
Stale 90+ days: 20

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (18)
  • feature request (6)
  • need more info (1)
  • request for comments (1)

Detailed Description

ssh2 is a pure JavaScript SSH client and server implementation for Node.js.

The tool addresses the need to add SSH connectivity to Node.js applications without relying on native bindings or external SSH libraries. It implements the SSH protocol entirely in JavaScript, enabling both client-side operations like remote command execution, interactive shells, port forwarding, and SFTP file transfers, as well as server-side functionality for accepting SSH connections with password or public key authentication. The implementation supports advanced features including X11 forwarding, connection hopping, SOCKSv5 proxy functionality, and custom HTTP/HTTPS agents for tunneling.

Developers should choose this tool when building Node.js applications that need SSH capabilities without native dependencies. It suits projects ranging from automation scripts and deployment tools to applications requiring SFTP file access or SSH tunneling. The pure JavaScript approach eliminates compilation requirements and platform-specific issues, making it particularly valuable for cross-platform deployments and containerized environments. The project includes examples for common use cases such as remote command execution, interactive sessions, local and remote port forwarding, and SFTP operations.

The project maintains a substantial user base evidenced by the fact that almost all open issues are raised by outside users rather than the core team. Maintainers typically respond to new issues and pull requests within hours. Work in the issue tracker is dominated by questions, feature requests, and requests for additional information, reflecting active community engagement around extending and clarifying the tool's capabilities.