Class DefaultKnownHostsServerKeyVerifier

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.io.ModifiableFileWatcher
org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier
org.apache.sshd.client.keyverifier.DefaultKnownHostsServerKeyVerifier
All Implemented Interfaces:
ModifiedServerKeyAcceptor, ServerKeyVerifier

public class DefaultKnownHostsServerKeyVerifier extends KnownHostsServerKeyVerifier
Monitors the ~/.ssh/known_hosts file of the user currently running the client, updating and re-loading it if necessary. It also (optionally) enforces the same permissions regime as OpenSSH.
Author:
Apache MINA SSHD Project