Class ConsoleKnownHostsVerifier
java.lang.Object
net.schmizz.sshj.transport.verification.OpenSSHKnownHosts
net.schmizz.sshj.transport.verification.ConsoleKnownHostsVerifier
- All Implemented Interfaces:
HostKeyVerifier
-
Nested Class Summary
Nested classes/interfaces inherited from class OpenSSHKnownHosts
OpenSSHKnownHosts.BadHostEntry, OpenSSHKnownHosts.CommentEntry, OpenSSHKnownHosts.EntryFactory, OpenSSHKnownHosts.HostEntry, OpenSSHKnownHosts.KnownHostEntry, OpenSSHKnownHosts.Marker -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Consoleprivate static final Stringprivate static final StringFields inherited from class OpenSSHKnownHosts
entries, khFile, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanhostKeyChangedAction(String hostname, PublicKey key) protected booleanhostKeyUnverifiableAction(String hostname, PublicKey key) Methods inherited from class OpenSSHKnownHosts
detectSSHDir, entries, findExistingAlgorithms, getFile, toString, verify, write, write
-
Field Details
-
YES
- See Also:
-
NO
- See Also:
-
console
-
-
Constructor Details
-
ConsoleKnownHostsVerifier
- Throws:
IOException
-
-
Method Details
-
hostKeyUnverifiableAction
- Overrides:
hostKeyUnverifiableActionin classOpenSSHKnownHosts
-
hostKeyChangedAction
- Overrides:
hostKeyChangedActionin classOpenSSHKnownHosts
-