SshAgentClients.
| Modifier and Type | Field and Description |
|---|---|
| private final ConnectorFactory | |
| private final File |
| Access | Constructor and Description |
|---|---|
| public | JGitSshAgentFactory(ConnectorFactory
JGitSshAgentFactory to wrapfor obtaining the current local user's home directory homeDir)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public SshAgent | createClient(Session session, FactoryManager
The manager)FactoryManager instanceImplements org. Create an SshAgent that can be used on the client side by the authentication process to send possible keys. |
| public SshAgentServer | createServer(ConnectionService
The service)ConnectionService to useImplements org. Create the server side that will be used by other SSH clients. |
| public List | getChannelForwardingFactories(FactoryManager
The manager)FactoryManager through which the request is madeImplements org. The channels are requested by the ssh server when forwarding a client request. |
| factory | back to summary |
|---|---|
| private final ConnectorFactory factory
| |
| homeDir | back to summary |
|---|---|
| private final File homeDir | |
| JGitSshAgentFactory | back to summary |
|---|---|
| public JGitSshAgentFactory(ConnectorFactory factory, File homeDir) Creates a new
| |
| createClient | back to summary |
|---|---|
| public SshAgent createClient(Session session, FactoryManager manager) throws IOException Implements org. Doc from org. 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 Implements org. Doc from org. 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 Implements org. Doc from org. 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.
| |