Package | Description |
---|---|
com.sshtools.net |
This package contains a set of network utilities for the J2SSH Maverick API.
|
com.sshtools.ssh |
This package contains a set of general interface contracts for SSH communication.
|
com.sshtools.ssh2 |
This package contains an SSH2 implementation of the
com.sshtools.ssh interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpProxyTransport
Provides an
SshTransport implementation that can
route the connection through a HTTP proxy. |
class |
HttpProxyTransportWrapper
Provides an
SshTransport implementation that can
route the connection through a HTTP proxy. |
class |
SocketTransport
Extends a Socket to provide an SshTransport suitable for use
in making connections using the SshConnector.
|
class |
SocketWrapper
Implements a basic wrapper around a Socket to provide an SshTransport suitable for use
in making connections using the SshConnector.
|
class |
SocksProxyTransport
Provides an
SshTransport implementation that can
route the connection through a SOCKS 4 or SOCKS 5 proxy. |
Modifier and Type | Method and Description |
---|---|
SshTransport |
ForwardingClient.ForwardingListener.createConnection(String hostToConnect,
int portToConnect) |
SshTransport |
SocksProxyTransport.duplicate() |
SshTransport |
SocketWrapper.duplicate() |
SshTransport |
SocketTransport.duplicate() |
SshTransport |
HttpProxyTransportWrapper.duplicate() |
SshTransport |
HttpProxyTransport.duplicate() |
Modifier and Type | Interface and Description |
---|---|
interface |
SshTunnel
Interface defining the contract for SSH forwarding channels.
|
Modifier and Type | Method and Description |
---|---|
SshTransport |
ForwardingRequestListener.createConnection(String hostToConnect,
int portToConnect)
Create a connection to the specified host.
|
SshTransport |
SshTransport.duplicate()
Create a new copy of this transport and connect to the same host:port
combination.
|
SshTransport |
SshTunnel.getTransport()
The connection being forwarded (local forwarding) or the destination of
the forwarding (remote forwarding).
|
Modifier and Type | Method and Description |
---|---|
void |
SshClient.connect(SshTransport transport,
SshContext context,
SshConnector connector,
String username,
String localIdentification,
String remoteIdentification,
boolean buffered)
Connect to an SSH server.
|
Ssh2Client |
SshConnector.connect(SshTransport transport,
String username)
Create a new connection to an SSH server over the specified transport.
|
SshClient |
SshConnector.connect(SshTransport transport,
String username,
boolean buffered)
See
SshConnector.connect(SshTransport, String) for full details. |
Ssh2Client |
SshConnector.connect(SshTransport transport,
String username,
boolean buffered,
SshContext context)
See
SshConnector.connect(SshTransport, String) for full details. |
SshClient |
SshConnector.connect(SshTransport transport,
String username,
SshContext context)
See
SshConnector.connect(SshTransport, String) for full details. |
SshTunnel |
SshClient.openForwardingChannel(String hostname,
int port,
String listeningAddress,
int listeningPort,
String originatingHost,
int originatingPort,
SshTransport transport,
ChannelEventListener listener)
Open a TCPIP forwarding channel to the remote computer.
|
Modifier and Type | Method and Description |
---|---|
SshTransport |
TransportProtocol.getProvider() |
Modifier and Type | Method and Description |
---|---|
void |
Ssh2Client.connect(SshTransport io,
SshContext context,
SshConnector connector,
String username,
String localIdentification,
String remoteIdentification,
boolean buffered) |
SshTunnel |
Ssh2Client.openForwardingChannel(String hostname,
int port,
String listeningAddress,
int listeningPort,
String originatingHost,
int originatingPort,
SshTransport transport,
ChannelEventListener listener) |
void |
TransportProtocol.startTransportProtocol(SshTransport provider,
Ssh2Context context,
String localIdentification,
String remoteIdentification,
Ssh2Client client)
Starts the protocol on the provider.
|
Copyright © 2014. All rights reserved.