Introduction
libsshHS – libssh „HotStone“ – is an independent, open-source SSH-2 library for client and server. It is implemented and tested from the specifications; libssh2 serves only as a reference for the client feature scope.
Scope of 1.0
Hybrid and classic key exchange, two AEAD ciphers, Ed25519, OpenSSH key files, certificates, FIDO2 user keys, sessions, SFTP v3, TCP, Unix-socket and agent forwarding, and transport ping – each in client and server role.
# preferred algorithms
kex mlkem768x25519-sha256, sntrup761x25519-sha512, curve25519-sha256
ciphers chacha20-poly1305@openssh.com, aes256-gcm@openssh.com
keys ssh-ed25519, ssh-ed25519-cert-v01@openssh.com, sk-ssh-ed25519@openssh.com
Design principles
The core processes bytes and protocol events. Your application keeps control of network I/O, accounts, key trust, file system, processes and reachable targets.
libsshHS.h, prefix libsshHS_, opaque handles and versioned structures. The owner frees. Borrowed buffers have a clearly bounded lifetime; C++ exceptions or Rust panics never cross the ABI.Platforms and language
The working favourite is a Rust core with a C-ABI; a C++20 core remains a concrete alternative. Core language, providers, license and the binding platform matrix are decided at the start of development. C and C++20 stay independent consumers of the installed header either way.
Planned for later
Prioritised and estimated separately after 1.0: password and keyboard-interactive auth, further key types, a non-AEAD profile with hmac-sha2-256-etm@openssh.com, and additional OS and package targets.