Enum ssh::ServerKnown
[−]
[src]
pub enum ServerKnown { NotKnown, Known, Changed, FoundOther, FileNotFound, }
Variants
NotKnown
The key is unknown
Known
The key is known
Changed
The key has changed since the last connection. You have to warn the user about a possible attack.
FoundOther
The type of the key has changed. Possible attack.
FileNotFound
The known hosts file doesn't exist, and will be created when write_knownhost
is called.