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.
|
NamedFactory<Channel> |
getChannelForwardingFactory()
The channels are requested by the ssh server when forwarding a client request.
|
NamedFactory<Channel> getChannelForwardingFactory()
SshAgent createClient(FactoryManager manager) throws IOException
manager
- The FactoryManager
instanceSshAgent
instanceIOException
- If failed to create the clientSshAgentServer createServer(ConnectionService service) throws IOException
service
- The ConnectionService
to useSshAgentServer
instanceIOException
- If failed to create the serverCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.