| Package | Description |
|---|---|
| org.eclipse.jgit.internal.transport.sshd | |
| org.eclipse.jgit.transport.sshd |
| Modifier and Type | Class and Description |
|---|---|
class |
OpenSshServerKeyDatabase
A sever host key verifier that honors the
StrictHostKeyChecking and
UserKnownHostsFile values from the ssh configuration. |
| Constructor and Description |
|---|
JGitServerKeyVerifier(ServerKeyDatabase database)
Creates a new
JGitServerKeyVerifier using the given
ServerKeyDatabase. |
| Modifier and Type | Method and Description |
|---|---|
protected ServerKeyDatabase |
SshdSessionFactory.createServerKeyDatabase(File homeDir,
File sshDir)
Creates a
ServerKeyDatabase to verify server host keys. |
protected ServerKeyDatabase |
SshdSessionFactory.getServerKeyDatabase(File homeDir,
File sshDir)
Obtains a
ServerKeyDatabase to verify server host keys. |
| Modifier and Type | Method and Description |
|---|---|
SshdSessionFactoryBuilder |
SshdSessionFactoryBuilder.setServerKeyDatabase(BiFunction<File,File,ServerKeyDatabase> factory)
Sets a function that creates a new
ServerKeyDatabase, given the
SSH and home directory. |
Copyright © 2020 Eclipse JGit Project. All rights reserved.