Enum ssh_cfg::ConfigError [−][src]
pub enum ConfigError {
SshOptionBeforeHost {
option: SshOptionKey,
value: String,
},
SshOptionUnknown {
key: String,
},
KeyValueNotFound {
line: String,
},
}
Expand description
Errors when parsing SSH config file.
Variants
SshOptionBeforeHost
An SSH option is provided before the Host
key.
SshOptionUnknown
Fields
key: String
The configuration option key.
Unknown SSH option in the SSH configuration file.
KeyValueNotFound
Fields
line: String
The line that could not be parsed.
Line could not be parsed into a key and value pair.