public interface ServerKeyLookup
Modifier and Type | Method and Description |
---|---|
java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> |
lookup(org.apache.sshd.client.session.ClientSession session,
java.net.SocketAddress remote)
Retrieves all entries for a given remote address.
|
@NonNull java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> lookup(org.apache.sshd.client.session.ClientSession session, java.net.SocketAddress remote)
session
- needed to determine the config files if specified in the ssh
configremote
- to find entries for