Package org.apache.sshd.client.global
Class OpenSshHostKeysHandler
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.helpers.AbstractConnectionServiceRequestHandler
org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler
org.apache.sshd.client.global.OpenSshHostKeysHandler
- All Implemented Interfaces:
RequestHandler<ConnectionService>
,ConnectionServiceRequestHandler
A handler for the "[email protected]" request - for now, only reads the presented host key. One can
override the
handleHostKeys(Session, Collection, boolean, Buffer)
methods in order to do something with the
keys- Author:
- Apache MINA SSHD Project
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.channel.RequestHandler
RequestHandler.Result
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
Fields inherited from interface org.apache.sshd.common.session.ConnectionServiceRequestHandler
SVC2HNDLR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RequestHandler.Result
handleHostKeys
(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) Methods inherited from class org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler
getPublicKeysParser, getRequestName, process, toString
-
Field Details
-
REQUEST
- See Also:
-
INSTANCE
-
-
Constructor Details
-
OpenSshHostKeysHandler
public OpenSshHostKeysHandler() -
OpenSshHostKeysHandler
-
-
Method Details
-
handleHostKeys
protected RequestHandler.Result handleHostKeys(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) throws Exception - Specified by:
handleHostKeys
in classAbstractOpenSshHostKeysHandler
- Throws:
Exception
-