Package | Description |
---|---|
com.maverick.agent.client | |
com.maverick.scp |
This package contains a Secure Copy (SCP) engine suitable for the
lightweight J2SSH Maverick API.
|
com.maverick.ssh |
This package contains a set of general interface contracts for SSH communication that
provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications.
|
com.maverick.ssh1 |
This package contains an SSH1 implementation of the
com.maverick.ssh interfaces.
|
com.maverick.ssh2 |
This package contains an SSH2 implementation of the
com.maverick.ssh interfaces.
|
com.sshtools.scp |
This package contains the SSHTools SCP implementation converted to use the
J2SSH Maverick API's SCP engine.
|
com.sshtools.sftp |
This package contains the SSHTools SFTP client converted for use with the J2SSH
Maverick API.
|
Modifier and Type | Method and Description |
---|---|
Ssh2Channel |
AgentForwardingChannelFactory.createChannel(String channeltype,
byte[] requestdata) |
Modifier and Type | Method and Description |
---|---|
InputStream |
ScpClientIO.get(String remoteFile)
Gets a remote file as a
java.io.InputStream . |
InputStream |
ScpClientIO.get(String remoteFile,
FileTransferProgress progress)
Gets a remote file as a
java.io.InputStream . |
void |
ScpClientIO.put(InputStream in,
long length,
String localFile,
String remoteFile)
Uploads a
java.io.InputStream to a remote server as a file. |
void |
ScpClientIO.put(InputStream in,
long length,
String localFile,
String remoteFile,
boolean remoteIsDir,
FileTransferProgress progress) |
void |
ScpClientIO.put(InputStream in,
long length,
String localFile,
String remoteFile,
FileTransferProgress progress)
Uploads a
java.io.InputStream to a remote server as a file. |
Modifier and Type | Method and Description |
---|---|
static void |
SshReporter.main(String[] args) |
static void |
SshDiagnostics.main(String[] args) |
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.
|
SshClient |
SshClient.openRemoteClient(String hostname,
int port,
String username)
Open up an SSH client from the remote machine to another remote server.
|
SshClient |
SshClient.openRemoteClient(String hostname,
int port,
String username,
SshClientConnector con)
Open up an SSH client from the remote machine to another remote server.
|
SshSession |
SshClient.openSessionChannel()
Open a session on the remote computer.
|
SshSession |
SshClient.openSessionChannel(ChannelEventListener listener)
Open a session on the remote computer.
|
SshSession |
SshClient.openSessionChannel(ChannelEventListener listener,
long timeout)
Open a session on the remote computer.
|
SshSession |
SshClient.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener) |
SshSession |
SshClient.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener,
long timeout) |
SshSession |
SshClient.openSessionChannel(long timeout)
Open a session on the remote computer.
|
Constructor and Description |
---|
Shell(SshClient ssh) |
Shell(SshClient ssh,
ShellStartupTrigger trigger) |
Shell(SshClient ssh,
ShellStartupTrigger trigger,
long startupTimeout) |
Shell(SshClient ssh,
ShellStartupTrigger trigger,
long startupTimeout,
String termtype) |
Shell(SshClient ssh,
ShellStartupTrigger trigger,
long startupTimeout,
String termtype,
int cols,
int rows) |
Modifier and Type | Method and Description |
---|---|
SshTunnel |
Ssh1Client.openForwardingChannel(String hostname,
int port,
String listeningAddress,
int listeningPort,
String originatingHost,
int originatingPort,
SshTransport transport,
ChannelEventListener listener) |
SshClient |
Ssh1Client.openRemoteClient(String hostname,
int port,
String username) |
SshClient |
Ssh1Client.openRemoteClient(String hostname,
int port,
String username,
SshClientConnector con) |
SshSession |
Ssh1Client.openSessionChannel()
Opens the one and only session channel available on an SSH1 connection,
calling this method multiple times on the same client instance will
return the same session instance.
|
SshSession |
Ssh1Client.openSessionChannel(ChannelEventListener listener) |
SshSession |
Ssh1Client.openSessionChannel(ChannelEventListener listener,
long timeout) |
SshSession |
Ssh1Client.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener) |
SshSession |
Ssh1Client.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener,
long timeout) |
SshSession |
Ssh1Client.openSessionChannel(long timeout) |
Modifier and Type | Method and Description |
---|---|
Ssh2Channel |
ChannelFactory.createChannel(String channeltype,
byte[] requestdata)
Create an instance of an SSH channel.
|
void |
Ssh2Client.openChannel(Ssh2Channel channel,
byte[] requestdata)
Additional method to open a custom SSH2 channel.
|
void |
Ssh2Client.openChannel(SshAbstractChannel channel)
Additional method to open a custom SSH2 channel.
|
SshTunnel |
Ssh2Client.openForwardingChannel(String hostname,
int port,
String listeningAddress,
int listeningPort,
String originatingHost,
int originatingPort,
SshTransport sock,
ChannelEventListener listener) |
SshClient |
Ssh2Client.openRemoteClient(String hostname,
int port,
String username) |
SshClient |
Ssh2Client.openRemoteClient(String hostname,
int port,
String username,
SshClientConnector con) |
SshSession |
Ssh2Client.openSessionChannel() |
SshSession |
Ssh2Client.openSessionChannel(ChannelEventListener listener) |
SshSession |
Ssh2Client.openSessionChannel(ChannelEventListener listener,
long timeout) |
Ssh2Session |
Ssh2Client.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener)
Additional method to open a session with SSH2 specific features.
|
Ssh2Session |
Ssh2Client.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener,
long timeout) |
SshSession |
Ssh2Client.openSessionChannel(long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
ScpClient.get(String localDir,
String[] remoteFiles,
boolean recursive)
Downloads an array of remote files to the local computer.
|
void |
ScpClient.get(String localFile,
String[] remoteFiles,
boolean recursive,
FileTransferProgress progress) |
void |
ScpClient.get(String localFile,
String remoteFile,
boolean recursive)
Downloads a remote file onto the local computer.
|
void |
ScpClient.get(String localFile,
String remoteFile,
boolean recursive,
FileTransferProgress progress) |
void |
ScpClient.put(String[] localFiles,
String remoteFile,
boolean recursive)
Uploads an array of local files onto the remote server.
|
void |
ScpClient.put(String[] localFiles,
String remoteFile,
boolean recursive,
FileTransferProgress progress)
Uploads an array of local files onto the remote server.
|
void |
ScpClient.put(String localFile,
String remoteFile,
boolean recursive)
Uploads a local file onto the remote server.
|
void |
ScpClient.put(String localFileRegExp,
String remoteFile,
boolean recursive,
FileTransferProgress progress)
pattern
matches the files in the local directory using "local" as a glob Regular
Expression.
|
void |
ScpClient.putFile(String localFile,
String remoteFile,
boolean recursive,
FileTransferProgress progress,
boolean remoteIsDir) |
Constructor and Description |
---|
SftpClient(int timeout,
SshClient ssh) |
SftpClient(SshClient ssh) |
SftpClient(SshClient ssh,
ChannelEventListener listener) |
SftpClient(SshClient ssh,
ChannelEventListener listener,
int timeout) |
SftpClient(SshClient ssh,
int version)
Constructs the SFTP client.
|
SftpClient(SshClient ssh,
int version,
ChannelEventListener listener)
Constructs the SFTP client with a given channel event listener.
|
SftpClient(SshClient ssh,
int version,
int timeout)
Constructs the SFTP client.
|
SftpClient(SshClient ssh,
int version,
int timeout,
ChannelEventListener listener)
Constructs the SFTP client with a given channel event listener.
|
Copyright © 2024. All rights reserved.