public class CheckNewHardStrategy extends SshHostKeyVerificationStrategy
SshHostKeyVerificationStrategy.SshHostKeyVerificationStrategyDescriptor
Constructor and Description |
---|
CheckNewHardStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(EC2Computer computer,
HostKey hostKey,
TaskListener listener)
Check if the given key is valid for the host identifier.
|
getDescriptor
public boolean verify(EC2Computer computer, HostKey hostKey, TaskListener listener) throws IOException
SshHostKeyVerificationStrategy
verify
in class SshHostKeyVerificationStrategy
computer
- the computer this connection is being initiated forhostKey
- 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 toIOException
Copyright © 2016–2022. All rights reserved.