public interface SshAgentFactory
SshAgentFactory
is used to communicate with an SshAgent.Modifier and Type | Method and Description |
---|---|
SshAgent |
createClient(FactoryManager manager)
Create an SshAgent that can be used on the client side by the authentication process to send possible keys.
|
SshAgentServer |
createServer(ConnectionService service)
Create the server side that will be used by other SSH clients.
|
java.util.List<ChannelFactory> |
getChannelForwardingFactories(FactoryManager manager)
The channels are requested by the ssh server when forwarding a client request.
|
java.util.List<ChannelFactory> getChannelForwardingFactories(FactoryManager manager)
manager
- The FactoryManager
through which the request is madeChannelFactory
-ies used to create channels on the client sideSshAgent createClient(FactoryManager manager) throws java.io.IOException
manager
- The FactoryManager
instanceSshAgent
instancejava.io.IOException
- If failed to create the clientSshAgentServer createServer(ConnectionService service) throws java.io.IOException
service
- The ConnectionService
to useSshAgentServer
instancejava.io.IOException
- If failed to create the server