sumant1122/nanossh
nanossh
sumant1122/nanossh
nanossh
Ultra-lightweight SSH-like remote shell in Rust using ~2.5MB RAM, 1-RTT handshake, ChaCha20-Poly1305 encryption, and full PTY support for resource-constrained machines.
Visit project- First shared
- Nov 17, 2026
- HN activity
- 10
Show HN@paperplaneflyrNov 17, 2026
Show HN: Nanossh – A lightweight SSH-like remote shell in Rust(2.5MB RAM, 1 RTT)
This is not a replacement for OpenSSH in multi-user enterprise environments. It deliberately omits X11 forwarding, SFTP/SCP subsystems, complex channel multiplexing, and LDAP/PAM authentication in favor of simplicity, speed, and a tiny footprint. Beyond reviving old hardware, it's also useful for Raspberry Pi Zero boards, minimal containers, and early-boot initramfs environments. Code, protocol spec, and automated tests are on GitHub: https://github.com/sumant1122/nanossh Feedback and critiques are welcome!
Community