public class

ConsoleKnownHostsVerifier

extends OpenSSHKnownHosts
java.lang.Object
   ↳ net.schmizz.sshj.transport.verification.OpenSSHKnownHosts
     ↳ net.schmizz.sshj.transport.verification.ConsoleKnownHostsVerifier

Summary

Constants
String NO
String YES
Fields
private final Console console
[Expand]
Inherited Fields
From class net.schmizz.sshj.transport.verification.OpenSSHKnownHosts
Public Constructors
ConsoleKnownHostsVerifier(File khFile, Console console)
Protected Methods
boolean hostKeyChangedAction(OpenSSHKnownHosts.HostEntry entry, String hostname, PublicKey key)
boolean hostKeyUnverifiableAction(String hostname, PublicKey key)
[Expand]
Inherited Methods
From class net.schmizz.sshj.transport.verification.OpenSSHKnownHosts
From class java.lang.Object
From interface net.schmizz.sshj.transport.verification.HostKeyVerifier

Constants

private static final String NO

Constant Value: "no"

private static final String YES

Constant Value: "yes"

Fields

private final Console console

Public Constructors

public ConsoleKnownHostsVerifier (File khFile, Console console)

Parameters
khFile
console
Throws
IOException

Protected Methods

protected boolean hostKeyChangedAction (OpenSSHKnownHosts.HostEntry entry, String hostname, PublicKey key)

Parameters
entry
hostname
key

protected boolean hostKeyUnverifiableAction (String hostname, PublicKey key)

Parameters
hostname
key