Enum massh::SshAuth [−][src]
Expand description
SSH authentication method.
Variants
Agent authentication with the first public key found in an SSH agent.
Password(String)
Basic password authentication.
Tuple Fields of Password
0: String
Pubkey(PathBuf)
Public key authentication using a PEM encoded private key file stored on disk.
Tuple Fields of Pubkey
0: PathBuf
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more