SshKeyStorage

Trait SshKeyStorage 

Source
pub trait SshKeyStorage: Send + Sync {
    // Required method
    fn resolve(&self, host: &str, username: &str) -> Option<PathBuf>;
}
Expand description

This trait must be implemented in order to use ssh keys for authentication for sftp/scp.

Required Methods§

Source

fn resolve(&self, host: &str, username: &str) -> Option<PathBuf>

Return RSA key path from host and username

Implementors§