Uses of Class
org.apache.sshd.client.config.hosts.KnownHostEntry
Packages that use KnownHostEntry
-
Uses of KnownHostEntry in org.apache.sshd.client.config.hosts
Methods in org.apache.sshd.client.config.hosts with type parameters of type KnownHostEntryModifier and TypeMethodDescriptionstatic <E extends KnownHostEntry>
EKnownHostEntry.parseKnownHostEntry
(E entry, String data) Methods in org.apache.sshd.client.config.hosts that return KnownHostEntryModifier and TypeMethodDescriptionstatic KnownHostEntry
KnownHostEntry.parseKnownHostEntry
(String line) Methods in org.apache.sshd.client.config.hosts that return types with arguments of type KnownHostEntryModifier and TypeMethodDescriptionstatic List<KnownHostEntry>
KnownHostEntry.readKnownHostEntries
(BufferedReader rdr) Reads configuration entriesstatic List<KnownHostEntry>
KnownHostEntry.readKnownHostEntries
(InputStream inStream, boolean okToClose) static List<KnownHostEntry>
KnownHostEntry.readKnownHostEntries
(Reader rdr, boolean okToClose) static List<KnownHostEntry>
KnownHostEntry.readKnownHostEntries
(URL url) static List<KnownHostEntry>
KnownHostEntry.readKnownHostEntries
(Path path, OpenOption... options) -
Uses of KnownHostEntry in org.apache.sshd.client.keyverifier
Fields in org.apache.sshd.client.keyverifier declared as KnownHostEntryModifier and TypeFieldDescriptionprivate KnownHostEntry
KnownHostsServerKeyVerifier.HostEntryPair.hostEntry
Methods in org.apache.sshd.client.keyverifier that return KnownHostEntryModifier and TypeMethodDescriptionKnownHostsServerKeyVerifier.HostEntryPair.getHostEntry()
protected KnownHostEntry
KnownHostsServerKeyVerifier.prepareKnownHostEntry
(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) Invoked byKnownHostsServerKeyVerifier.updateKnownHostsFile(ClientSession, SocketAddress, PublicKey, Path, Collection)
in order to generate the host entry to be writtenprotected KnownHostEntry
KnownHostsServerKeyVerifier.updateKnownHostsFile
(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts) Invoked if a new previously unknown host key has been accepted - by default appends a new entry at the end of the currently monitored known hosts fileMethods in org.apache.sshd.client.keyverifier with parameters of type KnownHostEntryModifier and TypeMethodDescriptionprotected boolean
KnownHostsServerKeyVerifier.acceptKnownHostEntry
(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, KnownHostEntry entry) Invoked after known host entry located and keys match - by default checks that entry has not been revokedboolean
KnownHostsServerKeyVerifier.acceptModifiedServerKey
(ClientSession clientSession, SocketAddress remoteAddress, KnownHostEntry entry, PublicKey expected, PublicKey actual) boolean
ModifiedServerKeyAcceptor.acceptModifiedServerKey
(ClientSession clientSession, SocketAddress remoteAddress, KnownHostEntry entry, PublicKey expected, PublicKey actual) Invoked when a matching known host key was found but it does not match the presented one.protected String
KnownHostsServerKeyVerifier.prepareModifiedServerKeyLine
(ClientSession clientSession, SocketAddress remoteAddress, KnownHostEntry entry, String curLine, PublicKey expected, PublicKey actual) Invoked byKnownHostsServerKeyVerifier.updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path, Collection)
in order to prepare the replacement - by default it replaces the key part with the new oneprotected PublicKey
KnownHostsServerKeyVerifier.resolveHostKey
(ClientSession session, KnownHostEntry entry, PublicKeyEntryResolver resolver) Recover the associated public key from a known host entryvoid
KnownHostsServerKeyVerifier.HostEntryPair.setHostEntry
(KnownHostEntry hostEntry) Constructors in org.apache.sshd.client.keyverifier with parameters of type KnownHostEntry