Registry / crypto / thrussh-keys

thrussh-keys

JSON →
library0.23.2rscratesunverified

Deal with SSH keys: load them, decrypt them, and interact with an SSH agent.

# Cargo.toml [dependencies] thrussh-keys = "0.23.2"
INSTALL
IMPORT
SIG · THRUSSH-KEYS
T
thrussh-keys
cryptorustv0.23.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

load_secret_key
use thrussh_keys::load_secret_key;

Loads an SSH private key from a file.

use thrussh_keys::load_secret_key; fn main() { let key = load_secret_key("id_rsa", None).unwrap(); println!("Loaded key: {:?}", key); }
Debug
Known issues
gotchaThe crate is part of the thrussh ecosystem and may have limited documentation.
fix
Refer to the thrussh project for usage examples.
affects: <=0.23.2
Upgrade
Version history
0.23.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources
thrussh-keys — cargo add thrussh-keys · libregistry