Secure Shell implementation of the RFC4251|RFC4252|RFC4253 in Rust.
- Pure Rust implementation
- Support for both client and server modes
- Asynchronous I/O using Tokio
- State machine-based architecture
rrh client 192.168.1.100:22rrh server 0.0.0.0:2222cargo build --releaseclient.rs- SSH client implementationserver.rs- SSH server implementationconstants.rs- Protocol constants and message typeskex.rs- Key exchange algorithm implementationmessage.rs- SSH message formatsssh_codec.rs- Binary packet encoding/decodingstate.rs- SSH protocol state machinetransport.rs- Low-level transport layererror.rs- Error types and handlingconfig.rs- Configuration options
This implementation is intended for educational purposes. For production use, consider established libraries that have undergone security audits.
Contributions are welcome! Please feel free to submit a Pull Request.