SshAgentFactory is used to communicate with an SshAgent.
| Modifier and Type | Method and Description |
|---|---|
| public SshAgent | createClient(Session session, FactoryManager
The manager)FactoryManager instanceCreate an SshAgent that can be used on the client side by the authentication process to send possible keys. |
| public SshAgentServer | Returns: TheSshAgentServer instanceThe service)ConnectionService to useCreate the server side that will be used by other SSH clients. |
| public List | Returns: TheChannelFactory-ies used to create channels for agent forwarding on the client side.
If null or empty, agent forwarding is not available.The manager)FactoryManager through which the request is madeThe channels are requested by the ssh server when forwarding a client request. |
| createClient | back to summary |
|---|---|
| public SshAgent createClient(Session session, FactoryManager manager) throws IOException Create an SshAgent that can be used on the client side by the authentication process to send possible keys.
| |
| createServer | back to summary |
|---|---|
| public SshAgentServer createServer(ConnectionService service) throws IOException Create the server side that will be used by other SSH clients. It will usually create a channel that will forward the requests to the original client.
| |
| getChannelForwardingFactories | back to summary |
|---|---|
| public List The channels are requested by the ssh server when forwarding a client request. The channel will receive agent requests and needs to forward them to the agent, either local or through another proxy.
| |