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 KnownHostEntryKnownHostEntry.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 KnownHostEntryKnownHostsServerKeyVerifier.HostEntryPair.hostEntryMethods in org.apache.sshd.client.keyverifier that return KnownHostEntryModifier and TypeMethodDescriptionKnownHostsServerKeyVerifier.HostEntryPair.getHostEntry()protected KnownHostEntryKnownHostsServerKeyVerifier.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 KnownHostEntryKnownHostsServerKeyVerifier.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 TypeMethodDescriptionbooleanKnownHostsServerKeyVerifier.acceptModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, KnownHostEntry entry, PublicKey expected, PublicKey actual) booleanModifiedServerKeyAcceptor.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 StringKnownHostsServerKeyVerifier.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 PublicKeyKnownHostsServerKeyVerifier.resolveHostKey(ClientSession session, KnownHostEntry entry, PublicKeyEntryResolver resolver) Recover the associated public key from a known host entryvoidKnownHostsServerKeyVerifier.HostEntryPair.setHostEntry(KnownHostEntry hostEntry) Constructors in org.apache.sshd.client.keyverifier with parameters of type KnownHostEntry