| java.lang.Object | |
| ↳ | net.schmizz.sshj.transport.verification.PromiscuousVerifier |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This callback is invoked when the server's host key needs to be verified.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
net.schmizz.sshj.transport.verification.HostKeyVerifier
| |||||||||||
This callback is invoked when the server's host key needs to be verified. The return value indicates to the caller whether the SSH connection should proceed.
Note: host key verification is the basis for security in SSH, therefore exercise due caution in implementing!| hostname | Remote hostname |
|---|---|
| port | Remote port |
| key | Host key of server |
true if key is acceptable, false otherwise