Registry / crypto / russh-keys

russh-keys

JSON →
library0.49.2rscratesunverified

Load, decrypt, and manage SSH keys, including interaction with SSH agents.

# Cargo.toml [dependencies] russh-keys = "0.49.2"
INSTALL
IMPORT
SIG · RUSSH-KEYS
R
russh-keys
cryptorustv0.49.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 russh_keys::load_secret_key;

Loads an SSH private key from a file.

use russh_keys::load_secret_key; fn main() -> Result<(), Box<dyn std::error::Error>> { let key = load_secret_key("id_rsa", None)?; println!("Loaded key: {:?}", key); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.49.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
russh-keys — cargo add russh-keys · libregistry