# apache/mina-sshd

Apache MINA sshd is a comprehensive Java library for client- and server-side SSH.

Repository: https://github.com/apache/mina-sshd
Canonical: https://ross.abutalabs.com/products/mina-sshd
Homepage: https://mina.apache.org/sshd-project/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, apache, library, ssh
Last push: 2026-08-29T13:28:03+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 68, longevity 100
- inputs: {"age_days": 5943, "days_push": 4, "days_rel": 55, "gap_med": 144, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1093, forks 400 (observed 2026-09-01T02:13:58.827715+00:00)

## What it is
Apache MINA SSHD is a pure-Java library implementing the SSH protocol on both client and server sides, with pluggable I/O back-ends (built-in NIO2, Apache MINA, or Netty). It includes SFTP and SCP subsystems and is intended for embedding SSH support in Java applications rather than replacing Unix SSH tools.

## Use cases
- embed an SSH server in a Java application
- run SFTP file transfers from Java code
- execute remote commands over SSH from a Java program
- add SCP support to a Java service
- implement port forwarding in a Java app
- build a custom SSH daemon with pluggable authentication

## When to choose
- you need programmatic SSH, SFTP, or SCP support inside a JVM application
- you want an embeddable SSH server rather than shelling out to OpenSSH
- you need pluggable network transports like Netty or Apache MINA
- you want an Apache-licensed, actively maintained SSH implementation

## When to avoid
- you just need a command-line SSH client or daemon on Unix - use OpenSSH
- you are not on the JVM and need a native SSH implementation
- you need a lightweight wrapper around the system ssh binary instead of a full protocol implementation

## Facets
- artifact type: library
- maturity: stable
- function: networking, security, file-upload, developer-tools
- domain: networking, security, developer-tools, backend
- platform: jvm, cross-platform
- tags: ssh, sftp, scp, ssh-client, ssh-server, netty, apache, java-library

## Member repositories
- apache/mina-sshd (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:13:58.827715+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-30T06:49:06.670074+00:00, confidence not recorded.
  - readme: https://github.com/apache/mina-sshd (fetched 2026-09-01T02:13:58.827715+00:00, sha f4f7441ddcc7)
  - homepage: https://mina.apache.org/sshd-project/ (fetched 2026-08-29T12:51:08.863074+00:00, sha d597bbfe1d91)
  - site_page: https://mina.apache.org/sshd-project/features.html (fetched 2026-08-29T12:51:08.872535+00:00, sha c781f09701d6)
  - site_page: https://mina.apache.org/sshd-project/documentation.html (fetched 2026-08-29T12:51:08.874742+00:00, sha 7b12e833b6e2)
  - site_page: https://mina.apache.org/sshd-project/faq.html (fetched 2026-08-29T12:51:08.877166+00:00, sha 3756e064a18a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
