Package org.apache.sshd.agent.common
Interface AgentForwardSupport
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
,Closeable
- All Known Implementing Classes:
DefaultAgentForwardSupport
The server side fake agent, acting as an agent, but actually forwarding the requests to the auth channel on the
client side.
-
Method Summary
Modifier and TypeMethodDescriptionInitializes the agent forwarding if not already done so - i.e., can be called more than once - only first successful call counts, the rest will return the identifier of the previously initialized agent.Methods inherited from interface org.apache.sshd.common.Closeable
addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListener
-
Method Details
-
initialize
Initializes the agent forwarding if not already done so - i.e., can be called more than once - only first successful call counts, the rest will return the identifier of the previously initialized agent.- Returns:
- The agent ID
- Throws:
IOException
- If failed to initialize
-