The Maverick.NET SSH API

AbstractKnownHostsKeyVerification Members

AbstractKnownHostsKeyVerification overview

Public Instance Constructors

AbstractKnownHostsKeyVerification Overloaded. Initializes a new instance of the AbstractKnownHostsKeyVerification class.

Public Instance Properties

IsKnownHostsWritable Flag to detect whether the known_hosts file is writable.

Public Instance Methods

AllowHost Call this method to allow a host key and optionally save the key to the known_hosts file.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
OnHostKeyMismatch Called by the verification instance when a key is received by a server that does not match the current key recorded in the known_hosts file.
OnUnknownHost Called by the verification instance when a key is received from a server that is not currently recorded in the known_hosts file.
RemoveHost Remove a host and all it's keys from the known_hosts file.
ToString Outputs a String representation of the known_hosts file.
VerifyHost Verify that the public key is acceptable for the host using the standard "known_hosts" file.

Protected Instance Fields

knownhosts The path to the known_hosts file.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AbstractKnownHostsKeyVerification Class | Maverick.PublicKey Namespace