Crate ssh_packet
source ·Expand description
ssh-packet
Representations of SSH packets interoperable with their binary wire representation, using binrw.
This includes a partial implementation of:
- RFC4250: SSH Protocol Assigned Numbers.
- RFC4251: SSH Protocol Architecture.
- RFC4252: SSH Authentication Protocol.
- RFC4253: SSH Transport Layer Protocol.
- RFC4254: SSH Connection Protocol.
- RFC4256: Generic Message Exchange Authentication for SSH.
- RFC5656: Elliptic Curve Algorithm Integration in the SSH Transport Layer.
Note: this is currently a draft and shouldn’t be used, yet.
Re-exports
pub use ::binrw;
Modules
- Types defined in the SSH’s architecture (
SSH-ARCH
) part of the protocol, as defined in the RFC 4251. - Messages involved in the SSH’s connect (
SSH-CONNECT
) part of the protocol, as defined in the RFC 4254.
Structs
- The SSH identification string as defined in the SSH protocol.
- A SSH 2.0 binary packet representation, including it’s encrypted payload.
Enums
- The error type used in the library.
- A SSH 2.0 message in it’s decrypted form.