Skip to main content

load_key

Function load_key 

Source
pub fn load_key(key_path: &Path) -> Result<PrivateKey>
Expand description

Load an existing SSH private key from disk.

ยงErrors

Returns an error if the file cannot be read or parsed.