Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
NEW: security/tinyssh
To:
ports <ports@openbsd.org>
Date:
Fri, 5 Sep 2025 13:10:37 +0100

Download raw body.

Thread
  • Stuart Henderson:

    NEW: security/tinyssh

this has been around for a while but only came to my attention fairly
recently; it's obviously not a general-purpose server but might be
of interest to some (even if just for compatibility testing).

there's also a specific separate binary with authentication disabled,
that may be of interest for some special use-cases.

ok to import?

---
tinysshd is a minimalistic SSH server which implements only a subset
of SSHv2 features.

It supports only secure cryptography (minimum 128-bit security,
protected against cache-timing attacks) and does not implement older
crypto (such as RSA, DSA, HMAC-MD5, HMAC-SHA1, 3DES, RC4, ...)

tinysshd doesn't implement unsafe features (such as password or
hostbased authentication), nor does it have features like SSH1 protocol,
compression, port forwarding, agent forwarding, X11 forwarding ...

It does not listen to network sockets itself, and should be run
from inetd, tcpserver or similar.

tinysshd doesn't use dynamic memory allocation.

State-of-the-art crypto:
ssh-ed25519, curve25519-sha256, chacha20-poly1305@openssh.com

Postquantum crypto:
sntrup761x25519-sha512@openssh.com, chacha20-poly1305@openssh.com

As of 20250501, it has 74260 words of code and is a beta release.
---