# janmojzis/tinyssh

TinySSH is small server (less than 100000 words of code)

Repository: https://github.com/janmojzis/tinyssh
Canonical: https://ross.abutalabs.com/products/tinyssh
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-07-31T13:34:50+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 74, longevity 100
- inputs: {"age_days": 4262, "days_push": 33, "days_rel": 93, "gap_med": 74.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1524, forks 84 (observed 2026-08-28T04:04:58.115460+00:00)

## What it is
TinySSH (tinysshd) is a minimalistic SSHv2 server written in C with under 100,000 words of code, implementing only a secure subset of the protocol. It supports modern and post-quantum cryptography (ed25519, curve25519, sntrup761x25519, chacha20-poly1305) and avoids unsafe legacy features and dynamic memory allocation.

## Use cases
- run a minimal secure ssh server on a linux box
- replace openssh with a smaller ssh daemon
- ssh server with post-quantum key exchange
- minimal ssh server for embedded or resource-constrained systems
- public-key-only ssh server without password authentication
- run sshd under inetd or systemd socket activation

## When to choose
- you need a tiny, auditable SSH server with only modern crypto
- you want public-key-only authentication with no password logins
- you need post-quantum key exchange support
- you run SSH from inetd, tcpserver, busybox, or systemd sockets
- you want a server with no dynamic memory allocation for reliability

## When to avoid
- you need port forwarding, agent forwarding, X11 forwarding, or compression
- you need SSH1 protocol or legacy crypto compatibility (RSA, DSA, 3DES)
- you need password or hostbased authentication
- you need a full-featured SSH server for general-purpose use

## Facets
- artifact type: application
- maturity: active
- function: ssh, security, cryptography, http-server
- domain: security, developer-tools, self-hosted, operating-systems
- platform: cli, self-hosted, cross-platform
- tags: ssh-server, minimalistic, post-quantum-crypto, ed25519, c-server, no-dynamic-allocation, linux

## Member repositories
- janmojzis/tinyssh (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.115460+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-30T04:31:42.891781+00:00, confidence not recorded.
  - readme: https://github.com/janmojzis/tinyssh (fetched 2026-08-28T04:04:58.115460+00:00, sha b1f60fb9875a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
