metalssh

Crates.iometalssh
lib.rsmetalssh
version0.0.1
created_at2025-02-13 01:54:25.197029+00
updated_at2025-11-15 02:31:11.366553+00
descriptionExperimental SSH implementation
homepage
repository
max_upload_size
id1553703
size324,318
Pierce Bartine (pbar1)

documentation

README

MetalSSH

Crates.io Version docs.rs

MetalSSH is an experimental SSH implementation with these goals:

  • Protocol represented cleanly as a state machine, so that invalid states are impossible
  • Sans-IO, so that the protocol may be run over any transports
  • Zero-copy as much as possible, doing no allocations within the library
  • no_std-compatible such that the library works without a heap
  • Modular cryptographic backends so that may be benchmarked against each other

Tests

Run all tests:

cargo test

Run only integration tests, which hits the network:

cargo test --test integration

Benchmarks

Benchmarks use criterion and run in release mode by default.

To view an HTML landing page with the benchmarks, run this after having run the benchmarks:

open target/criterion/report/index.html

Run cipher benchmarks:

cargo bench --bench cipher
Commit count: 0

cargo fmt