Crate ssh_packet

source ·
Expand description

ssh-packet

docs.rs Crates.io

Representations of SSH packets interoperable with their binary wire representation, using binrw.

This includes a partial implementation of:


Note: this is currently a draft and shouldn’t be used, yet.

Re-exports

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.
  • Messages involved in the SSH’s transport (SSH-TRANS) part of the protocol, as defined in the RFC 4253.
  • Messages involved in the SSH’s authentication (SSH-USERAUTH) part of the protocol, as defined in the RFC 4252 and RFC 4256.

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.

Traits