The Maverick.NET SSH API

ConsoleKnownHostsKeyVerification Members

ConsoleKnownHostsKeyVerification overview

Public Instance Constructors

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

Public Instance Properties

IsKnownHostsWritable (inherited from AbstractKnownHostsKeyVerification) Flag to detect whether the known_hosts file is writable.

Public Instance Methods

AllowHost (inherited from AbstractKnownHostsKeyVerification) 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 Overrides the abstract method to obtain a response from the user through the console.
OnUnknownHost Overides the abstract method to obtain a response from the user through the console.
RemoveHost (inherited from AbstractKnownHostsKeyVerification) Remove a host and all it's keys from the known_hosts file.
ToString (inherited from AbstractKnownHostsKeyVerification) Outputs a String representation of the known_hosts file.
VerifyHost (inherited from AbstractKnownHostsKeyVerification) Verify that the public key is acceptable for the host using the standard "known_hosts" file.

Protected Instance Fields

knownhosts (inherited from AbstractKnownHostsKeyVerification) 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

ConsoleKnownHostsKeyVerification Class | Maverick.PublicKey Namespace