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).

§Minimum Supported Rust Version

This crate requires Rust 1.73 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

§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 cipher;
pub use encoding;
pub use key;

Structs§

Certificate
OpenSSH certificate as specified in PROTOCOL.certkeys.
PrivateKey
SSH private key.
PublicKey
SSH public key.
Signature
Low-level digital signature (e.g. DSA, ECDSA, Ed25519).

Enums§

Algorithm
SSH key algorithms.
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
Reader trait which decodes the binary SSH protocol serialization from various inputs.
Writer
Writer trait which encodes the SSH binary format to various output encodings.