public class Capability
extends java.lang.Object
SshProvider.getCapabilities()| Modifier and Type | Field and Description |
|---|---|
static Capability |
AGENT
The provider supports a agent for key authentication.
|
static Capability |
CHANNEL_DATA_EVENTS
The provider reports on channel data events.
|
static Capability |
CHANNEL_HANDLERS
The provider supports channel handlers.
|
static Capability |
DATA_TIMEOUTS
Allows setting of timeouts on the connection.
|
static Capability |
FILE_TRANSFER_EVENTS
The provider will fire events when file transfers start, progress, and
finished.
|
static Capability |
GSSAPI_AUTHENTICATION
The provider supports GSSAPI authentication.
|
static Capability |
HOST_KEY_MANAGEMENT
The provider supports host key management.
|
static Capability |
HTTP_PROXY
The provider supports HTTP proxy connections.
|
static Capability |
IDENTITY_MANAGEMENT
The provider supports identity management.
|
static Capability |
KEYBOARD_INTERACTIVE_AUTHENTICATION
The provider supports keyboard interactive authentication.
|
static Capability |
OPENSSH_AGENT
The provider supports an SSH agent for key authentication.
|
static Capability |
PASSWORD_AUTHENTICATION
The provider supports password authentication.
|
static Capability |
PER_CONNECTION_CONFIGURATION
The provider fully supports per-connection configuration.
|
static Capability |
PORT_FORWARD_EVENTS
The provider supports port forwarding events.
|
static Capability |
PUBLIC_KEY_AUTHENTICATION
The provider supports public key authentication.
|
static Capability |
PUBLIC_KEY_SUBSYSTEM
The provider supports the public key subsystem.
|
static Capability |
RFC_AGENT
The provider supports an RFC agent for key authentication.
|
static Capability |
SCP
The provider supports SCP.
|
static Capability |
SFTP
The provider supports SFTP.
|
static Capability |
SFTP_OVER_SCP
The provider can fall-back to using SCP if SFTP is not available.
|
static Capability |
SOCKET_FACTORY
The provider supports use of a
SocketFactory to create
connections. |
static Capability |
SOCKS4_PROXY
The provider supports SOCKS4 proxy connections.
|
static Capability |
SOCKS5_PROXY
The provider supports SOCKS5 proxy connections.
|
static Capability |
SSH1
The provider fully supports SSH1.
|
static Capability |
SSH2
The provider fully supports SSH2.
|
static Capability |
TUNNELED_SOCKET_FACTORY
The provider can create a socket factory that is tunneled to a remote
host over SSH.
|
static Capability |
WINDOW_CHANGE
The provider supports changing of terminal window size
SshShell.requestPseudoTerminalChange(int, int, int, int). |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the capability name
|
java.lang.String |
toString() |
public static final Capability PER_CONNECTION_CONFIGURATION
public static final Capability SSH1
public static final Capability SSH2
public static final Capability HTTP_PROXY
public static final Capability SOCKS4_PROXY
public static final Capability SOCKS5_PROXY
public static final Capability PASSWORD_AUTHENTICATION
SshPasswordAuthenticator.public static final Capability PUBLIC_KEY_AUTHENTICATION
SshPublicKeyAuthenticator.public static final Capability KEYBOARD_INTERACTIVE_AUTHENTICATION
SshKeyboardInteractiveAuthenticator.public static final Capability GSSAPI_AUTHENTICATION
SshGSSAPIAuthenticator.public static final Capability IDENTITY_MANAGEMENT
SshProvider.createIdentityManager(SshConfiguration).public static final Capability HOST_KEY_MANAGEMENT
SshProvider.createHostKeyManager(SshConfiguration).public static final Capability PORT_FORWARD_EVENTS
SshClient.addPortForwardListener(net.sf.sshapi.forwarding.SshPortForwardListener)public static final Capability CHANNEL_DATA_EVENTS
SshDataProducingComponent.addDataListener(SshDataListener).public static final Capability FILE_TRANSFER_EVENTS
public static final Capability SCP
SshClient.createSCPClient().public static final Capability SFTP
SshClient.createSftpClient()public static final Capability PUBLIC_KEY_SUBSYSTEM
SshClient.createPublicKeySubsystem().public static final Capability SOCKET_FACTORY
SocketFactory to create
connections. See SshClient#setSocketFactory(SocketFactory).public static final Capability WINDOW_CHANGE
SshShell.requestPseudoTerminalChange(int, int, int, int).public static final Capability TUNNELED_SOCKET_FACTORY
SshClient.createTunneledSocketFactory().public static final Capability SFTP_OVER_SCP
public static final Capability DATA_TIMEOUTS
public static final Capability CHANNEL_HANDLERS
SshChannelHandler.public static final Capability AGENT
RFC_AGENT or OPENSSH_AGENT will
also be present.public static final Capability RFC_AGENT
public static final Capability OPENSSH_AGENT
Copyright © 2018. All rights reserved.