TinySSH is a minimal SSH server designed to provide secure remote shell access through a deliberately limited implementation of the SSH protocol. Rather than attempting to support every available SSH feature, the project concentrates on a small set of functionality and carefully selected cryptographic algorithms.
This approach reduces the amount of code that needs to be maintained and audited. TinySSH is particularly suited to administrators who require straightforward public-key authenticated access without the additional complexity of a general-purpose SSH server.
The software relies on external network service managers to accept incoming connections, keeping its responsibilities focused on SSH authentication and session handling.
This is free and open source software.
Key Features
- Implements a restricted subset of SSHv2, omitting password authentication, host-based authentication, SSH1 compatibility and other unnecessary functionality.
- Supports Ed25519 host keys and ChaCha20-Poly1305 authenticated encryption, avoiding legacy algorithms such as DSA, 3DES and RC4.
- Provides Curve25519 key exchange and hybrid post-quantum key exchange using sntrup761 combined with X25519.
- Supports the OpenSSH strict key-exchange extension for additional protection during SSH key negotiation.
- Does not implement TCP port forwarding, agent forwarding, X11 forwarding or compression, deliberately limiting the server’s attack surface.
- Uses fixed-size buffers for SSH packet processing, with controlled dynamic allocation for resolving authorisation paths.
- Can be started through systemd socket activation, inetd, tcpserver or compatible TCP service managers.
- Rejects client-supplied environment variable requests, requiring necessary environment settings to be configured on the server.
Website: github.com/janmojzis/tinyssh
Support:
Developer: Jan Mojžíš
License: Public Domain
TinySSH is written in C and C++. Learn C with our recommended free books and free tutorials. Learn C++ with our recommended free books and free tutorials.
Related Software
| SSH Servers | |
|---|---|
| OpenSSH | Comprehensive SSH server for secure remote access and file transfers |
| Teleport | Infrastructure access platform with SSH authentication and auditing |
| Warpgate | Transparent bastion host for secure, auditable remote access |
| ssh3 | Faster and rich secure shell using HTTP/3 |
| TinySSH | Minimalistic SSH server |
| Dropbear | Lightweight SSH server for embedded and resource-limited systems |
| ContainerSSH | Launches isolated, temporary containers for each SSH session |
| ssh2incus | SSH access to Incus instances without running SSH servers inside them |
| HPNSSH | High-performance SSH optimized for faster data transfers |
| wolfSSH | Embeddable SSH server implementation with SCP and SFTP support |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.