Struct distant_ssh2::Ssh2AuthEvent [−][src]
pub struct Ssh2AuthEvent {
pub username: String,
pub instructions: String,
pub prompts: Vec<Ssh2AuthPrompt>,
}Expand description
Represents an authentication request that needs to be handled before an ssh session can be established
Fields
username: StringRepresents the name of the user to be authenticated. This may be empty!
instructions: StringInformational text to be displayed to the user prior to the prompt
prompts: Vec<Ssh2AuthPrompt>Prompts to be conveyed to the user, each representing a single answer needed