Class StandardSshClientProvider.AcceptAllServerKeyVerifier

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.client.keyverifier.StaticServerKeyVerifier
org.apache.nifi.processors.standard.ssh.StandardSshClientProvider.AcceptAllServerKeyVerifier
All Implemented Interfaces:
org.apache.sshd.client.keyverifier.ServerKeyVerifier
Enclosing class:
StandardSshClientProvider

protected static class StandardSshClientProvider.AcceptAllServerKeyVerifier extends org.apache.sshd.client.keyverifier.StaticServerKeyVerifier
  • Field Summary

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    handleAcceptance(org.apache.sshd.client.session.ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey)
    Handle Accepted Server Key and log at INFO instead of WARN

    Methods inherited from class org.apache.sshd.client.keyverifier.StaticServerKeyVerifier

    handleRejection, isAccepted, verifyServerKey

    Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AcceptAllServerKeyVerifier

      protected AcceptAllServerKeyVerifier()
  • Method Details

    • handleAcceptance

      protected void handleAcceptance(org.apache.sshd.client.session.ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey)
      Handle Accepted Server Key and log at INFO instead of WARN
      Overrides:
      handleAcceptance in class org.apache.sshd.client.keyverifier.StaticServerKeyVerifier
      Parameters:
      sshClientSession - SSH Client Session connected
      remoteAddress - Server Address accepted
      serverKey - Server Key accepted