Russh
Rust SSH client & server library
...The API is designed to be explicit and composable, making it possible to implement custom behaviors like reverse tunnels, interactive shells, and service multiplexing. Because performance and safety are central, the code leverages Rust’s type system to reduce classes of runtime errors common in network protocol implementations. The project also includes examples and discussion threads that show how other tools integrate it for web-based clients or gateway services. For teams building terminals, proxies, or embedded management planes, it offers a robust foundation without shelling out to external binaries.