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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleAcceptance(org.apache.sshd.client.session.ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) Handle Accepted Server Key and log at INFO instead of WARNMethods inherited from class org.apache.sshd.client.keyverifier.StaticServerKeyVerifier
handleRejection, isAccepted, verifyServerKeyMethods 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
-
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:
handleAcceptancein classorg.apache.sshd.client.keyverifier.StaticServerKeyVerifier- Parameters:
sshClientSession- SSH Client Session connectedremoteAddress- Server Address acceptedserverKey- Server Key accepted
-