| Home >> All >> com >> sshtools >> [ j2ssh Javadoc ] |
Page 1 2
| | com.sshtools.j2ssh.subsystem.* (6) | | com.sshtools.j2ssh.transport.* (81) | | com.sshtools.j2ssh.util.* (10) |
com.sshtools.j2ssh: Javadoc index of package com.sshtools.j2ssh.
Package Samples:
com.sshtools.j2ssh.util
com.sshtools.j2ssh.transport.publickey.rsa
com.sshtools.j2ssh.transport.publickey.dsa
com.sshtools.j2ssh.transport.publickey
com.sshtools.j2ssh.transport.kex
com.sshtools.j2ssh.transport.hmac
com.sshtools.j2ssh.transport.compression
com.sshtools.j2ssh.transport.cipher
com.sshtools.j2ssh.transport
com.sshtools.j2ssh.subsystem
Classes:
SshClient: 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. There are several steps to perform prior to performing the desired task. This involves the making the initial connection, authenticating the user and creating a session to execute a command, shell or subsystem and/or configuring the port forwarding manager. To create a connection use the following code: // Create a instance and connect SshClient ssh = new SshClient(); ssh.connect("hostname"); Once ...
Service: This class implements the transport protocol service. After the transport protocol negotiates the protocol version and performs server authentication via key exchange, the client requests a service. The service is identified by a name and currently there are 2 services defined. ssh-userauth ssh-connection These 2 services are implemented by the SSH authentication protocol and SSH connection protocol respectivley. Further services can be defined and a similar local naming policy is applied to the service names, as is applied to the algorithm names; a local service should use the "servicename(at)domain" ...
DynamicBuffer: This class provides an alternative method of storing data, used within the API where Piped Streams could have been used. We found that Piped streams would lock if a thread attempted to read to data when the OutputStream attached was not being read; since we have no control over when the user will actually read the data, this behaviour led us to develop this dynamic buffer which will automatically grow if the buffer is full. *
IgnoreHostKeyVerification: A simple host key verification implementation that automatically approves the servers host key. It should be noted that using this implementation will render the protocol insecure against active attacks.
SshMessage: This class implements the payload portion each message sent by the transport protocol. Each message consists of an integer message id followed by a variable byte array containing message data.
AgentAuthenticationClient: 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.
SessionOutputReader: 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.
SshMessageStore: This class implements a message store that can be used to provide a blocking mechanism for transport protocol messages.
AsyncService: Extends the simple Service class to provide an asyncronous messaging service for the transport protocol.
ConsoleKnownHostsKeyVerification: Implements the AbstractKnownHostsKeyVerification to provide host key verification through the console.
HostKeyVerification: An interface to allow the transport protocol to verify the public key supplied by the server during key-exchange
AbstractKnownHostsKeyVerification: An abstract HostKeyVerification class providing validation against the known_hosts format.
ScpClient: Implements a Secure Copy (SCP) client. This may be useful when the server does not support SFTP.
FileTransferProgress: Title: Description: Copyright: Copyright (c) 2003 Company:
TransferCancelledException: Title: Description: Copyright: Copyright (c) 2003 Company:
AuthenticationProtocolListener: Title: Description: Copyright: Copyright (c) 2003 Company:
ChannelEventAdapter: Title: Description: Copyright: Copyright (c) 2003 Company:
SessionOutputEcho: Title: Description: Copyright: Copyright (c) 2003 Company:
AlgorithmNotAgreedException: Thrown by the transport protocol if an algortihm cannot be agreed between the client and server.
TransportProtocolEventAdapter: Title: Description: Copyright: Copyright (c) 2003 Company:
AlgorithmInitializationException: Thrown by the transport protocol if an error occurs during any type of algorithm initialization.
SshThread: Enables the J2SSH application framework to execute threads in the context of a given session.
AlgorithmNotSupportedException: Thrown by the transport protocol if an algorithm is not supported by the underlying JCE.
SshException: The base exception for all exceptions thrown within the J2SSH application framework.
| Home | Contact Us | Privacy Policy | Terms of Service |