Class 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:
    SSH Agent Protocol, RFC draft
    • Constructor Detail

      • 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