public static interface ServerKeyDatabase.Configuration
ServerKeyDatabase.lookup(String, InetSocketAddress, Configuration)
and
ServerKeyDatabase.accept(String, InetSocketAddress, PublicKey, Configuration, CredentialsProvider)
.Modifier and Type | Interface and Description |
---|---|
static class |
ServerKeyDatabase.Configuration.StrictHostKeyChecking
The possible values for the "StrictHostKeyChecking" ssh config.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getGlobalKnownHostsFiles()
Retrieves the list of file names from the "GlobalKnownHostsFile" ssh
config.
|
boolean |
getHashKnownHosts()
Obtains the value of the "HashKnownHosts" ssh config.
|
ServerKeyDatabase.Configuration.StrictHostKeyChecking |
getStrictHostKeyChecking()
Obtains the value of the "StrictHostKeyChecking" ssh config.
|
List<String> |
getUserKnownHostsFiles()
Retrieves the list of file names from the "UserKnownHostsFile" ssh
config.
|
String |
getUsername()
Obtains the user name used in the connection attempt.
|
List<String> getUserKnownHostsFiles()
List<String> getGlobalKnownHostsFiles()
@NonNull ServerKeyDatabase.Configuration.StrictHostKeyChecking getStrictHostKeyChecking()
boolean getHashKnownHosts()
true
if new entries should be stored with hashed host
information, false
otherwiseCopyright © 2020 Eclipse JGit Project. All rights reserved.