|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
ChannelEventListener | An event interface that provides notifications of SshChannel events. |
ForwardingRequestListener | This interface is required when a request for remote port forwarding is made. |
HostKeyVerification | This interface provides a callback method so that the user can verify the identity of the server (by checking the public key) during the initial protocol negotiation. |
ShellProcess.Matcher | This interface defines the contract for a matching operation. |
SocketTimeoutSupport | This interface adds timeout support to the SocketTransport interface. |
SshAuthentication | The base interface for all SSH authentication mechanisms and authentication result constants. |
SshChannel | The base interface for all SSH channels. |
SshClient | This interface defines the general contract for an SSH client that is compatible for both the SSH1 and SSH2 protocols. |
SshContext | This interface defines the general configuration items available to both SSH1 and SSH2. |
SshIO | Base interface for all SSH related IO interfaces. |
SshPrivateKey | Interface for SSH supported private keys. |
SshPublicKey | Interface for SSH supported public keys. |
SshSession | Base interface for SSH sessions supporting all the features common to both SSH1 and SSH2. |
SshTransport | Simple interface wrapper for transport layer communication. |
SshTunnel | Interface defining the contract for SSH forwarding channels. |
Class Summary | |
ChannelAdapter | An adapter for the ChannelEventListener. |
CommandExecutor | Simple command executor class. |
LicenseManager | Add your license using the static method provided by this class. |
Packet | A utility class that provides the SSH layers with the ability to dynamically write an SSH packet. |
PasswordAuthentication | Basic password authentication class used for SSH password authentication. |
PseudoTerminalModes | When a client requests a pseudo terminal it informs the server of any terminal modes that it knows of. |
PublicKeyAuthentication | Public key based authentication implementation. |
Shell | This class provides an enhanced user shell that enables the user to trap the
output of single commands in a ShellProcess . |
ShellEnvironment | This class helps the Shell class to determine information about a remote
SshClient 's environment. |
ShellProcess | Captures a single command and allows expect type functionality to be performed on the output. |
SshConnector | Connecting to an SSH server STARTS HERE!. |
SshDsaPrivateKey | Represents a DSA key and implements the SshPrivateKey interface. |
SshKeyFingerprint | Utility methods to generate an SSH public key fingerprint. |
SshRsaPrivateCrtKey | Represents a RSA key and implements the SshPrivateKey interface. |
SshRsaPrivateKey | Represents a RSA key and implements the SshPrivateKey interface. |
SubsystemChannel | This class provides useful methods for implementing an SSH2 subsystem. |
Exception Summary | |
ChannelOpenException | Exception thrown when a channel cannot be opened, the reason for which should be specified in with any of the constants defined here. |
ShellTimeoutException | Exception thrown when an operation times out. |
SshException | Generic exception for J2SSH Maverick exception handling. |
SshIOException | This class is provided so that when a channel InputStream/OutputStream interface has to throw an IOException; the real SshException cause can be retrieved. |
This package contains a set of general interface contracts for SSH communication that provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications. To connect to an SSH server you need to use SshConnector to get a reference to an SshClient which will either be an instance of Ssh2Client or Ssh2Client. Once a client instance is obtained you can proceed to authenticate the user and start a session. Features specific to a single protocol are not accessible through these interfaces, to use the these features you can check the instance at runtime and cast into the implementation class.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |