A - static field in class com.sshtools.daemon.terminal.
Terminal Creates a new AboutAction object.
Creates a new AbstractHostKeyVerification object.
Creates a new AbstractHostKeyVerification object.
An abstract HostKeyVerification
class providing validation
against the known_hosts format.
Constructs a host key verification instance reading the specified
known_hosts file.
Serivce start mode passed into init
method when the service
is operating in server mode.
Determine whether a private/public key pair will be accepted for public
key authentication.
an action to perform, one of
"send", "put", "recv", "get", "del", "delete", "list", "mkdir", "chmod"
An channel event listener implemention to maintain the active channel
list.
The currently active channels for this SSH Client connection.
Add an event handler to the managed connection
Implementation of the SessionManager method, simply calls the SshClient
method addEventHandler.
Implementation of the SessionManager method, simply calls the SshClient
method addEventHandler.
Set the event handler for the underlying transport protocol.
A set of files to upload or download
Adds a raw message to the store and processes the data into a registered
message.
Add a formed message to the store.
the message as nested text
the message as nested text
Provides an application with an authentication mechanism that links to the
sshtools agent; the agent stores private keys and can hash and sign data
for the public key authentication request.
Creates a new AgentAuthenticationClient object.
Creates a new AgentNotAvailableException object.
Creates a new AgentSocketChannel object.
Thrown by the transport protocol if an error occurs during any type of
algorithm initialization.
Constructs the exception.
Thrown by the transport protocol if an algortihm cannot be agreed between
the client and server.
Constructs the exception.
Thrown by the transport protocol if an algorithm is not supported by the
underlying JCE.
Constructs the exception.
Thrown by the transport protocol if an algorithm operation error occurs.
Adds a channel factory to the managed connection.
Implemenation of the SessionManager method, simply calls the SshClient
method allowChannelOpen.
Implemenation of the SessionManager method, simply calls the SshClient
method allowChannelOpen.
Instructs the underlying connection protocol to allow channels of the
given type to be opened by the server.
Returns a Map of the allowed hosts.
Creates a new AllowedSubsystem object.
Allows a host key, optionally recording the key to the known_hosts file.
Returns an array of substrings of the given text.
Returns the given text split up into an array of strings, at the
occurrances of the separator string.
ansi - class com.sshtools.daemon.terminal.
ansi Returns the given string array extended by one element that hold the
specified string.
Returns an array of strings that contains all strings given by the first
and second string array.
Returns an array of strings that contains all strings given in the first
plus the specified string to append, if it is not already in the given
array.
Returns an array of strings that contains all strings given in the first
plus all strings of the second array that are not already in the first
array.
The session can call this method to apply any changes to the profile it
may have made.
Implementation of the SessionManager method, this does nothing.
Implementation of the SessionManager method, this does nothing.
Returns a new map object that contains all key-value pairs of the
specified string.
Returns a new map object that contains all key-value pairs of the
specified string.
Returns a new map object that contains all key-value pairs of the
specified string.
Adds all key-value pairs of the given string to a new properties object.
Returns a string that contains all given strings concatenated and
separated by comma.
Returns a string that contains all given strings concatenated and
separated by the specified separator.
Extends the simple Service
class to provide an asyncronous
messaging service for the transport protocol.
Constructs an asyncronous service.
Returns true, if the scanner has reached the end and a further
invocation of nextChar() would return the END_REACHED character.
Authenticate the user on the remote host.
The SSH Authentication protocol implementation for this SSH client.
Creates a new AuthenticationDialog object.
Creates a new AuthenticationDialog object.
Creates a new AuthenticationDialog object.
Creates a new AuthenticationProtocolClient object.
Creates a new AuthenticationProtocolException object.
Title:
Description:
Copyright: Copyright (c) 2003
Company:
Creates a new AuthenticationProtocolServer object.
The current state of the authentication for the current connection.
Creates a new Authorization object.
Creates a new Authorization object.
Creates a new AutomationConfiguration object.
Return the number of bytes of data available to be read from the buffer
C - static field in class com.sshtools.daemon.terminal.
Terminal CAN - static field in class com.sshtools.daemon.terminal.
Terminal Called by the application framework to test the closing state
Called by the application framework when testing exit state
Called by the application framework when testing exit state
Changes the working directory on the remote server.
Returns the given string filled (on the right and right) up to the
specified length with spaces.
Returns the given string filled equally left and right up to the
specified length with the given character.
Constant for the carriage return character
Constant for the new line character
Constant for the space character
Constant for the tabulator character
Creates a new Channel object.
Creates a new ChannelDataWindow object.
Title:
Description:
Copyright: Copyright (c) 2003
Company:
Creates a new ChannelEventAdapter object.
Creates a new ChannelInputStream object.
Creates a new ChannelInputStream object.
Creates a new ChannelOutputStream object.
Creates a new ChannelOutputStream object.
Creates a new ChannelState object.
Checks to see that all required parameters are set.
Sets the group ID for the file or directory.
CHMOD - static field in class com.sshtools.ant.
Sftp
Changes the access permissions or modes of the specified file or
directory.
Sets the user ID to owner for the file or directory.
Creates a new ForwardingListener object.
Create's a cloned copy of this thread with the given target and name.
Called by the application framework to close the panel
Creates a new CloseAction object.
Creates a new ColorComboBox object.
Creates a new ColorComboBox object.
Creates a new ColorIcon object.
Creates a new ColorIcon object.
Creates a new ColorIcon object.
Creates a new ColorIcon object.
Return a string representation of a color
Creates a new ConfigurationException object.
Configure a new random port for the agent listener.
Connect the client to the server with the specified properties.
Connect the client to the server with the specified properties.
Connect the client to the server using default connection properties.
Connect the client to the server using the default connection
properties.
Connect the client to the server on a specified port with default
connection properties.
Connect the client to the server on a specified port with default
connection properties.
Connect a socket to the agent at the location specified.
Creates a new ConnectedSocketTransportProvider object.
The SSH Connection protocol implementation for this SSH client.
Creates a new ConnectionPropertiesAction object.
Creates a new ConnectionProtocol object.
Connect to the local agent.
Creates a new ConsoleHostKeyVerification object.
Creates a new ConsoleHostKeyVerification object.
Implements the AbstractKnownHostsKeyVerification
to provide
host key verification through the console.
Constructs the verification instance with the default known_hosts file
from $HOME/.ssh/known_hosts.
Constructs the verification instance with the specified known_hosts
file.
Message implementations should implement this method, writing the data
as exected in the transport protocol message format.
Message implementation should implement this method, reading the data as
expected in the transport protocol message format.
Returns whether or not a string can be found in the given string array
that matches the specified string pattern.
Returns whether or not the specified string can be found in the given
string array.
Returns whether or not the specified string can be found in the given
string array.
Returns whether or not the specified string can be found in the given
string array.
Determine if this thread contains the given property.
Returns all elements of string array from in a new array from
index start up to the end.
Returns all elements of string array from in a new array from
index start up to index end (inclusive).
CR - static field in class com.sshtools.daemon.terminal.
TerminalIO
Create a formed message from raw message data.
Creates all parent directories specified in a complete relative
pathname.
Reading/Writing to the session/command
Returns the one and only instance of this class.
Returns the portion of the given string that stands after the last
occurance of the specified separator.
Returns the portion of the given string that comes before the last
occurance of the specified separator.
Other utilities not worth their own class
Gets a remote file as an java.io.InputStream
.
Download the remote file to the local computer.
Download the remote file writing it to the specified
OutputStream
.
Downloads a remote file onto the local computer.
Download the remote file to the local computer.
Downloads an array of remote files to the local computer.
Returns the number of active channels for this client.
Returns the list of active channels.
Returns the active session channel of the given type.
Get an active sftp client
Get the application attached to the panel
Implement this method by returning the message ids of the asyncrounous
messages your implementation wants to receive.
Returns the server's authentication banner.
Returns the list of available authentication methods for a given user.
Get the connection properties for this connection.
Returns the transport protocol's connection state.
Gets the container for this panel.
Returns the session id of the current thread context.
Returns the current SshThread
.
Call to determine the username of the current thread context.
Returns the first substring that is enclosed by the specified delimiter.
Returns the first substring that is enclosed by the specified
delimiters.
Get the description of the provider e.g.
Retrieve a single file to the remote host.
Gets the managed connections port forwarding client.
Implementation of the SessionManager method, simply calls the SshClient
method getForwardingClient.
Implementation of the SessionManager method, simply calls the SshClient
method getForwardingClient.
Returns the default port forwarding manager.
Get the icon for the panel
Get the id of the provider e.g.
Returns whether or not the pattern matching ignores upper and lower case
Returns the number of bytes received from the remote server.
Get the InputStream of this buffer.
Get the one time instance of the factory.
Gets the underlying keystore for this agent listener.
Get the large icon of the provider.
Returns a string containing the session output from the current marked
position to the end of the output.
Return the UNIX style mode mask
Get a message from the store.
Get a message from the store.
Get a message from the store.
Get a message from the store.
Returns the id of the message
Helper method to extract the message id from the complete message data
recieved by the transport protocol.
Returns the name of the message implementation for debugging purposes.
Get the mnemonic character for key access
Get the name of the provider e.g.
Get the options class implementation
Returns the number of bytes transmitted to the remote server.
Returns the output of the entire session.
Get the OutputStream of the buffer.
Returns the pattern as string.
The current port of the agent listener
Returns the current position of the session input pointer.
Returns the current position in the string
Get the current profile attached to the session.
Gets the profile currently attached to the frame.
Gets the profile currently attached to the frame.
Gets a property from this thread.
Get an array of class instances for the providers property pages.
Get a SessionProvider
by its id.
Get the class instance for the session providers implementation.
Request some random data from the remote side
Returns an Object array (Integers) of the registered message ids.
Returns the guessed EOL setting of the remote computer
Returns the guessed EOL setting of the remote computer
Returns the guessed EOL setting of the remote computer
Return's a rough guess at the server's EOL setting.
Return's a rough guess at the server's EOL setting.
Returns the server's public key supplied during key exchange.
Gets the identification string supplied by the server.
Implemenation of the SessionManager method, simply calls the SshClient
method getServerId.
Implemenation of the SessionManager method, simply calls the SshClient
method getServerId.
Returns the identification string sent by the server during protocol
negotiation.
Returns the service name.
Returns the session id string for this thread.
Get the attached session provider panel.
Get the attached session provider panel.
Get all the installed SessionProvider's.
Get the small icon of the provider.
Returns the state of the service.
Get the agent listeners state
PseduoTermainal interface
Gets the username for this thread.
Get the weight of the provider.
Creates a new GlobalOptionsTab object.
Creates a new GlobalRequestResponse object.
Creates a new SaveAction object.
Creates a new SaveAsAction object.
Save's the host key file to be saved.
Implements a Secure Copy (SCP) client.
Creates a new ScpServer object.
SE - static field in class com.sshtools.daemon.terminal.
Terminal Creates a new SECSHPublicKeyFormat object.
Creates a new SECSHPublicKeyFormat object.
Send the agent alive message.
Send the agents key list to the remote side.
Sends a single file to the remote host.
Send a forwarding notice.
Implementation of the SessionManager method, simply calls the SshClient
method sendGlobalRequest.
Implementation of the SessionManager method, simply calls the SshClient
method sendGlobalRequest.
Send a global request to the server.
Sends a subsystem message.
Send the completed signing operation data.
Send some random data to the remote side.
Sends the SSH_MSG_SERVICE_ACCEPT message to the client to indicate that
the local computer is accepting the remote computers service request.
Request the agent version.
Send the version response; this class currently implements version 2
Creates a new ServerConfiguration object.
This class implements the transport protocol service.
The service has started and can send/recieve messages
The service has stopped and no messages can be sent or received
The service is unitialized
This class represents the state of a transport protocol service.
Constructs the state instance
Creates a new SessionChannelClient object.
Creates a new SessionChannelFactory object.
Creates a new SessionChannelServer object.
The raw session id generating during the first key exchange.
A string representation of the session id.
This interface is used by the Session Provider framework to abstract
the SshClient connection away from the session provider.
Title:
Description:
Copyright: Copyright (c) 2003
Company:
This class provides a utility to read and parse the output a session,
providing methods to wait for specific strings such as the prompt or
command input requests.
Contructs the session reader.
Instances of this class are created by the SessionProviderFactory
for each installed session provider.
This class is responsible for dynamically loading all the installed
session providers.
This frame class embeds a SessionProvider and manages the connection
on behalf of the caller.
Construct a new Session Provider frame.
This frame class embeds a SessionProvider and manages the connection
on behalf of the caller.
Construct a new Session Provider frame.
Sets the FTP action to be taken.
Set an actions visible state
Called by the application framework when a change in connection state
has occured.
Sets the file permission mode (Unix only) for files sent to the server.
Sets the container for this panel
Set the title of the container
Set to true to transmit only files that are new or changed from their
remote counterparts.
Sets the given character as a wildcard character in this pattern to
match only digits ('0'-'9').
When the session closes, should the connection be disconnected?
When the session closes, should the connection be disconnected?
Sets whether the pattern matching should ignore case or not
set the flag to skip errors on directory creation.
Sets the timeout value for the key exchange.
Sets the key exchance transfer limit in kilobytes.
Set the visible state of the menu bar
Sets the pattern to a new value
Set permissions given a UNIX style mask
Sets a property in the thread.
Sets the remote working directory
Set's the send ignore flag to send random data packets.
Sets the session id for this thread.
If true, enables unsuccessful file put, delete and get
operations to be skipped with a warning and the remainder
of the files still transferred.
Set's the socket timeout (in milliseconds) for the underlying transport
provider.
Set the visible state of the statusbar
the message as an attribute
the message as an attribute
Set the visible state of the toolbar
Set the visible state of all tools.
Turn the default forwarding manager on/off.
Set the username for this thread.
Set to true to receive notification about each file as it is
transferred.
Implements a Secure File Transfer (SFTP) client.
Creates a new SftpFile object.
Creates a new SftpFile object.
Creates a new SftpFileInputStream object.
Creates a new SftpFileOutputStream object.
Creates a new SftpSubsystemClient object.
Creates a new SftpSubsystemServer object.
SGR - static field in class com.sshtools.daemon.terminal.
Terminal Show an error message with toggable detail
Show an error message with detail
Show an exception message
Creates a new SimpleASNReader object.
Creates a new SimpleASNWriter object.
Returns the number of messages contained within this message store.
Moves the position pointer count characters.
Increments the given iterator up to the last character that matched the
character sequence in the given matchString.
Increments the position pointer up to the last character that matched
the character sequence in the given matchString.
Increments the position pointer up to the first character before the
character sequence in the given matchString.
Moves the iterator position to the next character that is no wildcard.
The timeout in milliseconds for the underlying transport provider
(typically a Socket).
Creates a new SocketTransportProvider object.
Returns a string array with two elements where the first is the
attribute name and the second is the attribute value.
Ssh - class com.sshtools.ant.
Ssh ssh - field in class com.sshtools.ant.
Ssh Ssh() - constructor for class com.sshtools.ant.
Ssh Provides a client connection to the ssh agent.
This class provides a connection using the SSH agent protocol.
Creates a new SshAgentSocketListener object.
Creates a new SshAPIConfiguration object.
Creates a new SshAPIConfiguration object.
Creates a new SshAuthenticationClientFactory object.
Creates a new SshAuthenticationServerFactory object.
Creates a new SshCipherFactory object.
Implements an SSH client with methods to connect to a remote server and
perform all necersary SSH functions such as SCP, SFTP, executing commands,
starting the users shell and perform port forwarding.
Contructs an unitilialized SshClient ready for connecting.
Creates a new SshCompressionFactory object.
Creates a new SshConnectionProperties object.
Creates a new SshDssPublicKey object.
Creates a new SshDssPublicKey object.
Creates a new SshEventAdapter object.
The base exception for all exceptions thrown within the J2SSH application
framework.
Creates a new SshFxpAttrs object.
Creates a new SshFxpAttrs object.
Creates a new SshFxpClose object.
Creates a new SshFxpClose object.
Creates a new SshFxpData object.
Creates a new SshFxpData object.
Creates a new SshFxpFSetStat object.
Creates a new SshFxpFSetStat object.
Creates a new SshFxpFStat object.
Creates a new SshFxpFStat object.
Creates a new SshFxpHandle object.
Creates a new SshFxpHandle object.
Creates a new SshFxpInit object.
Creates a new SshFxpInit object.
Creates a new SshFxpLStat object.
Creates a new SshFxpLStat object.
Creates a new SshFxpMkdir object.
Creates a new SshFxpMkdir object.
Creates a new SshFxpName object.
Creates a new SshFxpName object.
Creates a new SshFxpOpen object.
Creates a new SshFxpOpenDir object.
Creates a new SshFxpOpenDir object.
Creates a new SshFxpRead object.
Creates a new SshFxpRead object.
Creates a new SshFxpReadDir object.
Creates a new SshFxpReadDir object.
Creates a new SshFxpReadlink object.
Creates a new SshFxpReadlink object.
Creates a new SshFxpRealPath object.
Creates a new SshFxpRealPath object.
Creates a new SshFxpRemove object.
Creates a new SshFxpRemove object.
Creates a new SshFxpRename object.
Creates a new SshFxpRename object.
Creates a new SshFxpRmdir object.
Creates a new SshFxpRmdir object.
Creates a new SshFxpSetStat object.
Creates a new SshFxpSetStat object.
Creates a new SshFxpStat object.
Creates a new SshFxpStat object.
Creates a new SshFxpStatus object.
Creates a new SshFxpStatus object.
Creates a new SshFxpSymlink object.
Creates a new SshFxpSymlink object.
Creates a new SshFxpVersion object.
Creates a new SshFxpVersion object.
Creates a new SshFxpWrite object.
Creates a new SshFxpWrite object.
Creates a new SshHmacFactory object.
Creates a new SshKeyExchange object.
Creates a new SshKeyExchangeFactory object.
Creates a new SshKeyGenerator object.
Creates a new SshKeyPair object.
Creates a new SshKeyPairFactory object.
This class implements the payload portion each message sent by the transport
protocol.
Title:
Description:
Copyright: Copyright (c) 2003
Company:
This class implements a message store that can be used to provide a blocking
mechanism for transport protocol messages.
Contructs the message store.
Creates a new SshMsgChannelClose object.
Creates a new SshMsgChannelClose object.
Creates a new SshMsgChannelData object.
Creates a new SshMsgChannelData object.
Creates a new SshMsgChannelEOF object.
Creates a new SshMsgChannelEOF object.
Creates a new SshMsgChannelExtendedData object.
Creates a new SshMsgChannelExtendedData object.
Creates a new SshMsgChannelFailure object.
Creates a new SshMsgChannelFailure object.
Creates a new SshMsgChannelOpen object.
Creates a new SshMsgChannelOpen object.
Creates a new SshMsgChannelOpenConfirmation object.
Creates a new SshMsgChannelOpenConfirmation object.
Creates a new SshMsgChannelOpenFailure object.
Creates a new SshMsgChannelOpenFailure object.
Creates a new SshMsgChannelRequest object.
Creates a new SshMsgChannelRequest object.
Creates a new SshMsgChannelSuccess object.
Creates a new SshMsgChannelSuccess object.
Creates a new SshMsgChannelWindowAdjust object.
Creates a new SshMsgChannelWindowAdjust object.
Creates a new SshMsgDebug object.
Creates a new SshMsgDebug object.
Creates a new SshMsgDisconnect object.
Creates a new SshMsgDisconnect object.
Creates a new SshMsgGlobalRequest object.
Creates a new SshMsgGlobalRequest object.
Creates a new SshMsgIgnore object.
Creates a new SshMsgIgnore object.
Creates a new SshMsgKexDhInit object.
Creates a new SshMsgKexDhInit object.
Creates a new SshMsgKexDhReply object.
Creates a new SshMsgKexDhReply object.
Creates a new SshMsgKexInit object.
Creates a new SshMsgKexInit object.
Creates a new SshMsgNewKeys object.
Creates a new SshMsgRequestFailure object.
Creates a new SshMsgRequestSuccess object.
Creates a new SshMsgRequestSuccess object.
Creates a new SshMsgServiceAccept object.
Creates a new SshMsgServiceAccept object.
Creates a new SshMsgServiceRequest object.
Creates a new SshMsgServiceRequest object.
Creates a new SshMsgUnimplemented object.
Creates a new SshMsgUnimplemented object.
Creates a new SshMsgUserAuthBanner object.
Creates a new SshMsgUserAuthBanner object.
Creates a new SshMsgUserAuthFailure object.
Creates a new SshMsgUserAuthFailure object.
Creates a new SshMsgUserAuthInfoRequest object.
Creates a new SshMsgUserAuthInfoRequest object.
Creates a new SshMsgUserAuthInfoResponse object.
Creates a new SshMsgUserAuthInfoResponse object.
Creates a new SshMsgUserAuthPKOK object.
Creates a new SshMsgUserAuthPKOK object.
Creates a new SshMsgUserAuthPwdChangeReq object.
Creates a new SshMsgUserAuthPwdChangeReq object.
Creates a new SshMsgUserAuthRequest object.
Creates a new SshMsgUserAuthRequest object.
Creates a new SshMsgUserAuthSuccess object.
Creates a new SshPrivateKey object.
Creates a new SshPrivateKeyFile object.
Creates a new SshPublicKeyFile object.
Creates a new SshRsaKeyPair object.
Creates a new SshRsaPrivateKey object.
Creates a new SshRsaPrivateKey object.
Creates a new SshRsaPublicKey object.
Creates a new SshRsaPublicKey object.
Runtime exception's thrown by the J2SSH application framework.
Constructs a runtime exception.
Creates a new SshServer object.
Enables the J2SSH application framework to execute threads in the context of
a given session.
An abstract application class that provides container management, look
and feel configuration and most recently used menus.
Creates a new SshToolsApplication object.
Creates a new SshToolsApplicationClientPanel object.
Creates a new SshToolsApplicationClientPanel object.
Creates a new SshToolsApplicationException object.
Creates a new SshToolsApplicationException object.
Creates a new SshToolsApplicationException object.
Creates a new SshToolsApplicationException object.
Creates a new SshToolsApplicationPanel object.
Creates a new SshToolsApplicationPanel object.
Creates a new SshToolsApplicationClientPanel object.
Creates a new SshToolsApplicationClientPanel object.
Creates a new SshToolsConnectionHostTab object.
Creates a new SshToolsConnectionPanel object.
Creates a new SshToolsConnectionProfile object.
Creates a new SshToolsConnectionProtocolTab object.
Creates a new SshToolsConnectionProxyTab object.
Creates a new SshtoolsPrivateKeyFormat object.
Creates a new SshtoolsPrivateKeyFormat object.
Prints the stack trace of the specified throwable to a string and
returns it.
Starts the agent listener thread
Returns the substring of the given string that comes after the first
occurance of the specified separator.
This instances start mode
Creates a new StartStopState object.
Returns the attributes of the file from the remote computer.
state - field in class com.sshtools.j2ssh.connection.
Channel The current state of the service
state - field in class com.sshtools.j2ssh.util.
State Creates a new State object.
Creates a new StatusBar object.
Creates a new StopAction object.
Constant for the String representation of the carriage return character
Constant for the String representation of the new line character
Constant for the String representation of the space character
Constant for the String representation of the tabulator character
As a subclass of StringScanner this class allows more advanced navigation
over the underlying string.
Initialize the new instance with the string to examine.
Initialize the new instance with the string to examine.
This class provides services for checking strings against string-patterns.
Initializes the new instance with the string pattern.
Initializes the new instance with the string pattern and the selecteion,
if case should be ignored when comparing characters.
Initializes the new instance with the string pattern and the selecteion,
if case should be ignored when comparing characters plus a wildcard
character for digits.
Initializes the new instance with the string pattern and a digit
wildcard character.
Simple scanner that allows to navigate over the characters of a string.
Initialize the new instance with the string that should be scanned.
Return a Color
object given a string representation of it
The sole instance of this class provides several convienience methods for
string manipulation such as substring replacement or character repetition.
Returns the given text split up into an array of strings, at the
occurrances of the separator string.
Returns the given text split up into an array of strings, at the
occurrances of the separator string.
Creates a new SubsystemClient object.
Creates a new SubsystemClient object.
Creates a new SubsystemInputStream object.
Creates a new SubsystemMessage object.
Creates a new SubsystemMessageStore object.
Creates a new SubsystemOutputStream object.
Creates a new SubsystemServer object.
Returns the substring of the given string that comes after the first
occurance of the specified separator.
Returns the substring of the given string that comes after the first
occurance of the specified separator.
Create a symbolic link on the remote computer.