~/.ssh/known_hosts file of the user currently running the client, updating and re-loading it if
necessary. It also (optionally) enforces the same permissions regime as OpenSSH.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | DefaultKnownHostsServerKeyVerifier(ServerKeyVerifier delegate, boolean strict, Path file, LinkOption... options)
|
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | Returns: Iftrue then makes sure that the containing folder has 0700 access and the file 0644Note for Windows it does not check these permissions
|
| protected List | reloadKnownHosts(ClientSession
The session, Path ClientSession that triggered this requestThe file)Path to reload fromOverrides org.
|
| strict | back to summary |
|---|---|
| private final boolean strict | |
| DefaultKnownHostsServerKeyVerifier | back to summary |
|---|---|
| public DefaultKnownHostsServerKeyVerifier(ServerKeyVerifier delegate) | |
| DefaultKnownHostsServerKeyVerifier | back to summary |
|---|---|
| public DefaultKnownHostsServerKeyVerifier(ServerKeyVerifier delegate, boolean strict) | |
| DefaultKnownHostsServerKeyVerifier | back to summary |
|---|---|
| public DefaultKnownHostsServerKeyVerifier(ServerKeyVerifier delegate, boolean strict, File file) | |
| DefaultKnownHostsServerKeyVerifier | back to summary |
|---|---|
| public DefaultKnownHostsServerKeyVerifier(ServerKeyVerifier delegate, boolean strict, Path file, LinkOption... options) | |
| isStrict | back to summary |
|---|---|
public final boolean isStrict()
| |