Enum massh::SshAuth[][src]

pub enum SshAuth {
    Agent,
    Password(String),
    Pubkey(PathBuf),
}
Expand description

SSH authentication method.

Variants

Agent

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.