Skip to main content

ssh_key_file

Function ssh_key_file 

Source
pub fn ssh_key_file<U, P>(
    username: U,
    private_key: P,
    passphrase: Option<String>,
) -> AuthManager
where U: Into<String>, P: Into<PathBuf>,
Expand description

SSH key file authentication with agent and ambient fallback.