Skip to main content

Crate ssh_protocol

Crate ssh_protocol 

Source
Expand description

§RustCrypto: SSH Protocol

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Documentation

§About

Pure Rust implementation of the SSH protocol as described in RFC4251/RFC4253 as well as OpenSSH-specific extensions (WIP).

Enable the mlkem768x25519-sha256 feature for the hybrid ML-KEM-768 and X25519 key exchange described in RFC 10042. It works with default features disabled and requires no allocator.

§License

Licensed under either of:

at your option.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Re-exports§

pub use ssh_cipher;
pub use ssh_encoding;
pub use ssh_key;

Modules§

kex
SSH transport key exchange methods.

Structs§

Certificatealloc
OpenSSH certificate as specified in draft-ietf-sshm-cert.
Decoder
Decoder for SSH protocol data types over a byte Reader.
PrivateKey
SSH private key.
PublicKey
SSH public key.
Signaturealloc
Low-level digital signature (e.g. DSA, ECDSA, Ed25519).

Enums§

Algorithm
SSH key algorithms, i.e. digital signature algorithms used with SSH private/public keys.
Cipher
Cipher algorithms.
Fingerprint
SSH public key fingerprints.
HashAlg
Hashing algorithms a.k.a. digest functions.
Kdf
Key Derivation Functions (KDF).
KdfAlg
Key Derivation Function (KDF) algorithms.

Traits§

Decode
Decoding trait.
Encode
Encoding trait.
Reader
Byte reader for raw or incrementally decoded input.
Writer
Writer trait which encodes the SSH binary format to various output encodings.

Derive Macros§

Decode
Derive the Decode trait for a struct or enum.
Encode
Derive the Encode trait for a struct or enum.