Class SSH2SimpleClient

java.lang.Object

com.mindbright.ssh2.SSH2SimpleClient

public class SSH2SimpleClient
extends java.lang.Object

This class implements the most basic variant of a ssh2 client. It
creates the userauth, and connection layers (i.e. instances of
SSH2UserAuth, and SSH2Connection). The
only thing which needs to be provided is an initialized
SSH2Transport instance, user authentication data. The
constructor is active in that it does all the required work to set
up the complete protocol stack, hence it can throw exceptions which
can occur.

This simple client can easily be used as the basis for example to build
tunneling capabilities into any java app. requiring secure connections. For
doing remote command execution and/or controlling input/output of a command
or shell the class SSH2ConsoleRemote can be used to have easy
access to command execution and/or input/output as
java.io.InputStream and java.io.OutpuStream