java.lang.Object
org.eclipse.jgit.internal.transport.sshd.agent.SshAgentClient
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.agent.SshAgent

public class SshAgentClient extends Object implements org.apache.sshd.agent.SshAgent
A client for an SSH2 agent. This client supports querying identities, signature requests, and adding keys to an agent (with or without constraints). Removing keys is not supported, and the older SSH1 protocol is not supported.
See Also:
  • Constructor Details

    • SshAgentClient

      public SshAgentClient(Connector connector)
      Creates a new SshAgentClient implementing the SSH2 ssh agent protocol, using the given Connector to connect to the SSH agent and to exchange messages.
      Parameters:
      connector - Connector to use
  • Method Details