Package com.mindbright.ssh2

Implements the secure shell version 2 protocol suite.

See:
          Description

Interface Summary
SSH2AuthModule This interface defines an authentication module implementing an authentication method (as defined in the userauth protocol spec.).
SSH2ChannelCloseListener  
SSH2ConnectionEventHandler This interface is an event callback interface used to monitor the connection layer of an ssh2 connection.
SSH2Interactor This interface defines the different types of prompts which are needed for interactive authentication.
SSH2PKISigner This interface is a simple abstraction of a PKI signing mechanism.
SSH2SFTP.AsyncListener  
SSH2StreamFilter  
SSH2StreamFilterFactory  
SSH2TerminalAdapter  
SSH2TransportEventHandler This interface is an event callback interface used to monitor the transport layer of an ssh2 connection.
 

Class Summary
SSH2  
SSH2Authenticator This is the base class for an "authenticator" representing a user and the methods available to authenticate that user.
SSH2AuthKbdInteract This class implements a module for keyboard-interactive authentication as defined in the auth-kbdinteract protocol spec.
SSH2AuthPassword This class implements a module for password authentication as defined in the userauth protocol spec.
SSH2AuthPublicKey This class implements a module for publickey authentication as defined in the userauth protocol spec.
SSH2AuthSSHComSecurID This class implements a module for SecurID authentication as defined by SSH Inc.
SSH2Channel This is the abstract base class for all channels as defined in the connection protocol spec.
SSH2Compressor  
SSH2CompressorZLib  
SSH2Connection This class implements the connection layer of the secure shell version 2 (ssh2) protocol stack.
SSH2ConnectionEventAdapter This class is an adapter for the interface SSH2ConnectionEventHandler.
SSH2Connector This class takes care of all incoming CHANNEL_OPEN messages.
SSH2ConsoleRemote This class implements a console to a remote command or shell.
SSH2DataBuffer This class implements a read/write buffer with all protocol specific formatting (as defined in the architecture spec.).
SSH2DSS  
SSH2FTPOverSFTP  
SSH2FTPProxyFilter  
SSH2HostKeyVerifier This class is an adapter for the interface SSH2TransportEventHandler.
SSH2InternalChannel  
SSH2KEXDHGroup1SHA1  
SSH2KEXDHGroupXSHA1  
SSH2KeyExchanger  
SSH2KeyFingerprint  
SSH2KeyPairFile This class implements the file formats commonly used for storing key pairs for public key authentication.
SSH2KeyPairFile.PEMDSAPrivate From OpenSSL doc for dsa.
SSH2Listener This class accepts connections to a single address/port pair for creating channels through port forwards.
SSH2ListUtil  
SSH2Preferences This class is a container for all protocol preferences and the packet version used in the class SSH2Transport.
SSH2PublicKeyFile This class implements the file formats commonly used for storing public keys for public key authentication.
SSH2RetryingTCPChannel  
SSH2RSA  
SSH2SCP1Client  
SSH2SCP1Factory  
SSH2SessionChannel This class implements session channels as defined in the connection protocol spec.
SSH2SFTP  
SSH2SFTP.FileAttributes  
SSH2SFTP.FileHandle  
SSH2SFTP.SFTPPacket  
SSH2SFTPClient  
SSH2SFTPFactory  
SSH2SFTPFileBrowser  
SSH2SFTPTransfer  
SSH2Signature  
SSH2SimpleClient This class implements the most basic variant of a ssh2 client.
SSH2SimpleSFTPShell  
SSH2SimpleSFTPShell.ProgressBar  
SSH2SimpleSignature  
SSH2StreamChannel  
SSH2StreamFilterAdapter  
SSH2StreamSniffer  
SSH2TCPChannel  
SSH2TelnetProxyListener  
SSH2TerminalAdapterImpl  
SSH2Transport This class implements the transport layer of the secure shell version 2 (ssh2) protocol stack.
SSH2Transport.TranceiverContext  
SSH2TransportEventAdapter This class is an adapter for the interface SSH2TransportEventHandler.
SSH2TransportPDU  
SSH2TransportPDUPool  
SSH2UserAuth This class implements the user authentication layer of the secure shell version 2 (ssh2) protocol stack.
SSH2X11Filter  
 

Exception Summary
SSH2AccessDeniedException  
SSH2CompressionException  
SSH2ConnectException  
SSH2CorruptPacketException  
SSH2EOFException  
SSH2Exception  
SSH2FatalException  
SSH2KEXFailedException  
SSH2MacCheckException  
SSH2SFTP.SFTPAsyncAbortException  
SSH2SFTP.SFTPDisconnectException  
SSH2SFTP.SFTPEOFException  
SSH2SFTP.SFTPException  
SSH2SFTP.SFTPNoSuchFileException  
SSH2SFTP.SFTPPermissionDeniedException  
SSH2SignatureException  
SSH2UserCancelException  
 

Package com.mindbright.ssh2 Description

Implements the secure shell version 2 protocol suite. In here is all classes implementing the different parts of the full ssh2 protocol stack including filetransfer. The classes SSH2Transport, SSH2UserAuth, and SSH2Connection are central to the whole implementation, this is where you want to start looking for how things works. There are two classes available which makes a good quick start, these are SSH2SimpleClient and SSH2ConsoleRemote. They provide the basic functionality for connecting to an ssh2 server and run single commands and/or an interactive shell. Together with an understanding of the class SSH2Connection one can utilize all basic functions of the full API.