Class NonVerifyingKeyVerificationStrategy

    • Constructor Detail

      • NonVerifyingKeyVerificationStrategy

        public NonVerifyingKeyVerificationStrategy()
    • Method Detail

      • verify

        public boolean verify​(EC2Computer computer,
                              HostKey hostKey,
                              TaskListener listener)
                       throws IOException
        Description copied from class: SshHostKeyVerificationStrategy
        Check if the given key is valid for the host identifier.
        Specified by:
        verify in class SshHostKeyVerificationStrategy
        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
        whether the provided HostKey is trusted and the current connection can therefore continue.