public interface SshAgentFactory
SshAgentFactory
is used to communicate with an SshAgent.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PROXY_AUTH_CHANNEL_TYPE |
static String |
PREFER_UNIX_AGENT |
static String |
PROXY_AUTH_CHANNEL_TYPE
Value that can be set in order to control the type of authentication
channel being requested when forwarding a PTY session.
|
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.
|
List<NamedFactory<Channel>> |
getChannelForwardingFactories(FactoryManager manager)
The channels are requested by the ssh server when forwarding a client request.
|
static final String PROXY_AUTH_CHANNEL_TYPE
DEFAULT_PROXY_AUTH_CHANNEL_TYPE
is usedstatic final String DEFAULT_PROXY_AUTH_CHANNEL_TYPE
static final String PREFER_UNIX_AGENT
List<NamedFactory<Channel>> getChannelForwardingFactories(FactoryManager manager)
manager
- The FactoryManager
through which the request is madeSshAgent 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–2022 The Apache Software Foundation. All rights reserved.