public class AcceptNewStrategy extends SshHostKeyVerificationStrategy
|Constructor and Description|
|Modifier and Type||Method and Description|
Check if the given key is valid for the host identifier.
public boolean verify(EC2Computer computer, HostKey hostKey, TaskListener listener) throws IOException
computer- the computer this connection is being initiated for
hostKey- the key that was transmitted by the remote host for the current connection. This is the key that should be checked to see if we trust it by the current verifier.
listener- the connection listener to write any output log to
Copyright © 2016–2022. All rights reserved.