Ganymed SSH-2 for Java
A C D E F G H I K L M O P R S T U V W

A

addConnectionMonitor(ConnectionMonitor) - Method in class ch.ethz.ssh2.Connection
Add a ConnectionMonitor to this connection.
addHostkey(String[], String, byte[]) - Method in class ch.ethz.ssh2.KnownHosts
Adds a single public key entry to the database.
addHostkeyToFile(File, String[], String, byte[]) - Static method in class ch.ethz.ssh2.KnownHosts
Adds a single public key entry to the a known_hosts file.
addHostkeys(char[]) - Method in class ch.ethz.ssh2.KnownHosts
Parses the given known_hosts data and adds entries to the database.
addHostkeys(File) - Method in class ch.ethz.ssh2.KnownHosts
Parses the given known_hosts file and adds entries to the database.
atime - Variable in class ch.ethz.ssh2.SFTPv3FileAttributes
The ATIME attribute.
attributes - Variable in class ch.ethz.ssh2.SFTPv3DirectoryEntry
The attributes of this entry.
authenticateWithDSA(String, String, String) - Method in class ch.ethz.ssh2.Connection
Deprecated. You should use one of the authenticateWithPublicKey() methods, this method is just a wrapper for it and will disappear in future builds.
authenticateWithKeyboardInteractive(String, InteractiveCallback) - Method in class ch.ethz.ssh2.Connection
A wrapper that calls authenticateWithKeyboardInteractivewith a null submethod list.
authenticateWithKeyboardInteractive(String, String[], InteractiveCallback) - Method in class ch.ethz.ssh2.Connection
After a successful connect, one has to authenticate oneself.
authenticateWithPassword(String, String) - Method in class ch.ethz.ssh2.Connection
After a successfull connect, one has to authenticate oneself.
authenticateWithPublicKey(String, char[], String) - Method in class ch.ethz.ssh2.Connection
After a successful connect, one has to authenticate oneself.
authenticateWithPublicKey(String, File, String) - Method in class ch.ethz.ssh2.Connection
A convenience wrapper function which reads in a private key (PEM format, either DSA or RSA) and then calls authenticateWithPublicKey(String, char[], String).
available() - Method in class ch.ethz.ssh2.StreamGobbler
 

C

CLOSED - Static variable in interface ch.ethz.ssh2.ChannelCondition
The underlying SSH-2 channel, however not necessarily the whole connection, has been closed.
ChannelCondition - interface ch.ethz.ssh2.ChannelCondition.
Contains constants that can be used to specify what conditions to wait for on a SSH-2 channel (e.g., represented by a Session).
Connection - class ch.ethz.ssh2.Connection.
A Connection is used to establish an encrypted TCP/IP connection to a SSH-2 server.
Connection(String) - Constructor for class ch.ethz.ssh2.Connection
Prepares a fresh Connection object which can then be used to establish a connection to the specified SSH-2 server.
Connection(String, int) - Constructor for class ch.ethz.ssh2.Connection
Prepares a fresh Connection object which can then be used to establish a connection to the specified SSH-2 server.
ConnectionInfo - class ch.ethz.ssh2.ConnectionInfo.
In most cases you probably do not need the information contained in here.
ConnectionInfo() - Constructor for class ch.ethz.ssh2.ConnectionInfo
 
ConnectionMonitor - interface ch.ethz.ssh2.ConnectionMonitor.
A ConnectionMonitor is used to get notified when the underlying socket of a connection is closed.
cancelRemotePortForwarding(int) - Method in class ch.ethz.ssh2.Connection
Cancel an earlier requested remote port forwarding.
canonicalPath(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Have the server canonicalize any given path name to an absolute path.
ch.ethz.ssh2 - package ch.ethz.ssh2
 
clientToServerCryptoAlgorithm - Variable in class ch.ethz.ssh2.ConnectionInfo
The currently used crypto algorithm for packets from to the client to the server.
clientToServerMACAlgorithm - Variable in class ch.ethz.ssh2.ConnectionInfo
The currently used MAC algorithm for packets from to the client to the server.
close() - Method in class ch.ethz.ssh2.Connection
Close the connection to the SSH-2 server.
close() - Method in class ch.ethz.ssh2.LocalPortForwarder
Stop TCP/IP forwarding of newly arriving connections.
close() - Method in class ch.ethz.ssh2.LocalStreamForwarder
Close the underlying SSH forwarding channel and free up resources.
close() - Method in class ch.ethz.ssh2.SFTPv3Client
Close this SFTP session.
close() - Method in class ch.ethz.ssh2.Session
Close this session.
close() - Method in class ch.ethz.ssh2.StreamGobbler
 
closeFile(SFTPv3FileHandle) - Method in class ch.ethz.ssh2.SFTPv3Client
Close a file.
connect() - Method in class ch.ethz.ssh2.Connection
Same as connect(null, 0, 0).
connect(ServerHostKeyVerifier) - Method in class ch.ethz.ssh2.Connection
Same as connect(verifier, 0, 0).
connect(ServerHostKeyVerifier, int, int) - Method in class ch.ethz.ssh2.Connection
Connect to the SSH-2 server and, as soon as the server has presented its host key, use the ServerHostKeyVerifier.verifyServerHostKey() method of the verifier to ask for permission to proceed.
connectionLost(Throwable) - Method in interface ch.ethz.ssh2.ConnectionMonitor
This method is called after the connection's underlying socket has been closed.
createBubblebabbleFingerprint(String, byte[]) - Static method in class ch.ethz.ssh2.KnownHosts
Convert a ssh2 key-blob into a human readable bubblebabble fingerprint.
createFile(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Create a file and open it for reading and writing.
createFile(String, SFTPv3FileAttributes) - Method in class ch.ethz.ssh2.SFTPv3Client
Create a file and open it for reading and writing.
createFileTruncate(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Create a file (truncate it if it already exists) and open it for reading and writing.
createFileTruncate(String, SFTPv3FileAttributes) - Method in class ch.ethz.ssh2.SFTPv3Client
reate a file (truncate it if it already exists) and open it for reading and writing.
createHashedHostname(String) - Static method in class ch.ethz.ssh2.KnownHosts
Generate the hashed representation of the given hostname.
createHexFingerprint(String, byte[]) - Static method in class ch.ethz.ssh2.KnownHosts
Convert a ssh2 key-blob into a human readable hex fingerprint.
createLocalPortForwarder(int, String, int) - Method in class ch.ethz.ssh2.Connection
Creates a new LocalPortForwarder.
createLocalStreamForwarder(String, int) - Method in class ch.ethz.ssh2.Connection
Creates a new LocalStreamForwarder.
createSCPClient() - Method in class ch.ethz.ssh2.Connection
Create a very basic SCPClient that can be used to copy files from/to the SSH-2 server.
createSymlink(String, String) - Method in class ch.ethz.ssh2.SFTPv3Client
Create a symbolic link on the server.

D

DHGexParameters - class ch.ethz.ssh2.DHGexParameters.
A DHGexParameters object can be used to specify parameters for the diffie-hellman group exchange.
DHGexParameters() - Constructor for class ch.ethz.ssh2.DHGexParameters
Same as calling DHGexParameters(1024, 1024, 4096).
DHGexParameters(int) - Constructor for class ch.ethz.ssh2.DHGexParameters
This constructor can be used to force the sending of a SSH_MSG_KEX_DH_GEX_REQUEST_OLD request.
DHGexParameters(int, int, int) - Constructor for class ch.ethz.ssh2.DHGexParameters
This constructor can be used to force the sending of a SSH_MSG_KEX_DH_GEX_REQUEST request.

E

EOF - Static variable in interface ch.ethz.ssh2.ChannelCondition
EOF on has been reached, no more _new_ stdout or stderr data will arrive from the remote server.
EXIT_SIGNAL - Static variable in interface ch.ethz.ssh2.ChannelCondition
The exit signal of the remote process is available.
EXIT_STATUS - Static variable in interface ch.ethz.ssh2.ChannelCondition
The exit status of the remote process is available.
execCommand(String) - Method in class ch.ethz.ssh2.Session
Execute a command on the remote machine.

F

filename - Variable in class ch.ethz.ssh2.SFTPv3DirectoryEntry
A relative name within the directory, without any path components.
forceKeyExchange() - Method in class ch.ethz.ssh2.Connection
Force an asynchronous key re-exchange (the call does not block).
fsetstat(SFTPv3FileHandle, SFTPv3FileAttributes) - Method in class ch.ethz.ssh2.SFTPv3Client
Modify the attributes of a file.
fstat(SFTPv3FileHandle) - Method in class ch.ethz.ssh2.SFTPv3Client
Retrieve the file attributes of an open file.

G

get(String, String) - Method in class ch.ethz.ssh2.SCPClient
Download a file from the remote server to a local directory.
get(String, OutputStream) - Method in class ch.ethz.ssh2.SCPClient
Download a file from the remote server and pipe its contents into an OutputStream.
get(String[], String) - Method in class ch.ethz.ssh2.SCPClient
Download a set of files from the remote server to a local directory.
getAvailableCiphers() - Static method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
getAvailableMACs() - Static method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
getAvailableServerHostKeyAlgorithms() - Static method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
getCharset() - Method in class ch.ethz.ssh2.SFTPv3Client
The currently used charset for filename encoding/decoding.
getClient() - Method in class ch.ethz.ssh2.SFTPv3FileHandle
Get the SFTPv3Client instance which created this handle.
getConnectionInfo() - Method in class ch.ethz.ssh2.Connection
Returns a ConnectionInfo object containing the details of the connection.
getExitSignal() - Method in class ch.ethz.ssh2.Session
Get the name of the signal by which the process on the remote side was stopped - if available and applicable.
getExitStatus() - Method in class ch.ethz.ssh2.Session
Get the exit code/status from the remote command - if available.
getHostname() - Method in class ch.ethz.ssh2.Connection
Returns the hostname that was passed to the constructor.
getInputStream() - Method in class ch.ethz.ssh2.LocalStreamForwarder
 
getMax_group_len() - Method in class ch.ethz.ssh2.DHGexParameters
Get the maximum group length.
getMin_group_len() - Method in class ch.ethz.ssh2.DHGexParameters
Get the minimum group length.
getOctalPermissions() - Method in class ch.ethz.ssh2.SFTPv3FileAttributes
Turn the POSIX permissions into a 7 digit octal representation.
getOutputStream() - Method in class ch.ethz.ssh2.LocalStreamForwarder
Get the OutputStream.
getPort() - Method in class ch.ethz.ssh2.Connection
Returns the port that was passed to the constructor.
getPref_group_len() - Method in class ch.ethz.ssh2.DHGexParameters
Get the preferred group length.
getPreferredServerHostkeyAlgorithmOrder(String) - Method in class ch.ethz.ssh2.KnownHosts
Try to find the preferred order of hostkey algorithms for the given hostname.
getProtocolVersion() - Method in class ch.ethz.ssh2.SFTPv3Client
Returns the negotiated SFTP protocol version between the client and the server.
getRemainingAuthMethods(String) - Method in class ch.ethz.ssh2.Connection
After a successful connect, one has to authenticate oneself.
getServerErrorCode() - Method in class ch.ethz.ssh2.SFTPException
Get the error code sent by the server.
getServerErrorCodeSymbol() - Method in class ch.ethz.ssh2.SFTPException
Get the symbolic name of the error code as given in the SFTP specs.
getServerErrorCodeVerbose() - Method in class ch.ethz.ssh2.SFTPException
Get the description of the error code as given in the SFTP specs.
getServerErrorMessage() - Method in class ch.ethz.ssh2.SFTPException
Get the error message sent by the server.
getStderr() - Method in class ch.ethz.ssh2.Session
 
getStdin() - Method in class ch.ethz.ssh2.Session
 
getStdout() - Method in class ch.ethz.ssh2.Session
 
gid - Variable in class ch.ethz.ssh2.SFTPv3FileAttributes
The GID attribute.

H

HOSTKEY_HAS_CHANGED - Static variable in class ch.ethz.ssh2.KnownHosts
 
HOSTKEY_IS_NEW - Static variable in class ch.ethz.ssh2.KnownHosts
 
HOSTKEY_IS_OK - Static variable in class ch.ethz.ssh2.KnownHosts
 
HTTPProxyData - class ch.ethz.ssh2.HTTPProxyData.
A HTTPProxyData object is used to specify the needed connection data to connect through a HTTP proxy.
HTTPProxyData(String, int) - Constructor for class ch.ethz.ssh2.HTTPProxyData
Same as calling HTTPProxyData(proxyHost, proxyPort, null, null)
HTTPProxyData(String, int, String, String) - Constructor for class ch.ethz.ssh2.HTTPProxyData
Same as calling HTTPProxyData(proxyHost, proxyPort, null, null, null)
HTTPProxyData(String, int, String, String, String[]) - Constructor for class ch.ethz.ssh2.HTTPProxyData
Connection data for a HTTP proxy.
HTTPProxyException - exception ch.ethz.ssh2.HTTPProxyException.
May be thrown upon connect() if a HTTP proxy is being used.
HTTPProxyException(String, int) - Constructor for class ch.ethz.ssh2.HTTPProxyException
 
httpErrorCode - Variable in class ch.ethz.ssh2.HTTPProxyException
 
httpResponse - Variable in class ch.ethz.ssh2.HTTPProxyException
 

I

InteractiveCallback - interface ch.ethz.ssh2.InteractiveCallback.
An InteractiveCallback is used to respond to challenges sent by the server if authentication mode "keyboard-interactive" is selected.
identification - Static variable in class ch.ethz.ssh2.Connection
The identifier presented to the SSH-2 server.
isAuthMethodAvailable(String, String) - Method in class ch.ethz.ssh2.Connection
Checks if a specified authentication method is available.
isAuthenticationComplete() - Method in class ch.ethz.ssh2.Connection
Determines if the authentication phase is complete.
isAuthenticationPartialSuccess() - Method in class ch.ethz.ssh2.Connection
Returns true if there was at least one failed authentication request and the last failed authentication request was marked with "partial success" by the server.
isClosed() - Method in class ch.ethz.ssh2.SFTPv3FileHandle
Check if this handle was closed with the SFTPv3Client.closeFile(SFTPv3FileHandle) method of the SFTPv3Client instance which created the handle.
isDirectory() - Method in class ch.ethz.ssh2.SFTPv3FileAttributes
Checks if this entry is a directory.
isRegularFile() - Method in class ch.ethz.ssh2.SFTPv3FileAttributes
Checks if this entry is a regular file.
isSymlink() - Method in class ch.ethz.ssh2.SFTPv3FileAttributes
Checks if this entry is a a symlink.

K

KnownHosts - class ch.ethz.ssh2.KnownHosts.
The KnownHosts class is a handy tool to verify received server hostkeys based on the information in known_hosts files (the ones used by OpenSSH).
KnownHosts() - Constructor for class ch.ethz.ssh2.KnownHosts
 
KnownHosts(char[]) - Constructor for class ch.ethz.ssh2.KnownHosts
 
KnownHosts(File) - Constructor for class ch.ethz.ssh2.KnownHosts
 
keyExchangeAlgorithm - Variable in class ch.ethz.ssh2.ConnectionInfo
The used key exchange (KEX) algorithm in the latest key exchange.
keyExchangeCounter - Variable in class ch.ethz.ssh2.ConnectionInfo
Number of kex exchanges performed on this connection so far.

L

LocalPortForwarder - class ch.ethz.ssh2.LocalPortForwarder.
A LocalPortForwarder forwards TCP/IP connections to a local port via the secure tunnel to another host (which may or may not be identical to the remote SSH-2 server).
LocalStreamForwarder - class ch.ethz.ssh2.LocalStreamForwarder.
A LocalStreamForwarder forwards an Input- and Outputstream pair via the secure tunnel to another host (which may or may not be identical to the remote SSH-2 server).
longEntry - Variable in class ch.ethz.ssh2.SFTPv3DirectoryEntry
An expanded format for the file name, similar to what is returned by "ls -l" on Un*x systems.
ls(String) - Method in class ch.ethz.ssh2.SFTPv3Client
List the contents of a directory.
lstat(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Retrieve the file attributes of a file.

M

mkdir(String, int) - Method in class ch.ethz.ssh2.SFTPv3Client
Create a new directory.
mtime - Variable in class ch.ethz.ssh2.SFTPv3FileAttributes
The MTIME attribute.
mv(String, String) - Method in class ch.ethz.ssh2.SFTPv3Client
Move a file or directory.

O

openFileRO(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Open a file for reading.
openFileRW(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Open a file for reading and writing.
openSession() - Method in class ch.ethz.ssh2.Connection
Open a new Session on this connection.

P

ProxyData - interface ch.ethz.ssh2.ProxyData.
An abstract marker interface implemented by all proxy data implementations.
permissions - Variable in class ch.ethz.ssh2.SFTPv3FileAttributes
The POSIX permissions.
proxyHost - Variable in class ch.ethz.ssh2.HTTPProxyData
 
proxyPass - Variable in class ch.ethz.ssh2.HTTPProxyData
 
proxyPort - Variable in class ch.ethz.ssh2.HTTPProxyData
 
proxyUser - Variable in class ch.ethz.ssh2.HTTPProxyData
 
put(String, String) - Method in class ch.ethz.ssh2.SCPClient
Copy a local file to a remote directory, uses mode 0600 when creating the file on the remote side.
put(String[], String) - Method in class ch.ethz.ssh2.SCPClient
Copy a set of local files to a remote directory, uses mode 0600 when creating files on the remote side.
put(String, String, String) - Method in class ch.ethz.ssh2.SCPClient
Copy a local file to a remote directory, uses the specified mode when creating the file on the remote side.
put(String, String, String, String) - Method in class ch.ethz.ssh2.SCPClient
Copy a local file to a remote directory, uses the specified mode and remote filename when creating the file on the remote side.
put(byte[], String, String) - Method in class ch.ethz.ssh2.SCPClient
Create a remote file and copy the contents of the passed byte array into it.
put(byte[], String, String, String) - Method in class ch.ethz.ssh2.SCPClient
Create a remote file and copy the contents of the passed byte array into it.
put(String[], String, String) - Method in class ch.ethz.ssh2.SCPClient
Copy a set of local files to a remote directory, uses the specified mode when creating the files on the remote side.
put(String[], String[], String, String) - Method in class ch.ethz.ssh2.SCPClient
 

R

read(SFTPv3FileHandle, long, byte[], int, int) - Method in class ch.ethz.ssh2.SFTPv3Client
Read bytes from a file.
read() - Method in class ch.ethz.ssh2.StreamGobbler
 
read(byte[]) - Method in class ch.ethz.ssh2.StreamGobbler
 
read(byte[], int, int) - Method in class ch.ethz.ssh2.StreamGobbler
 
readLink(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Read the target of a symbolic link.
replyToChallenge(String, String, int, String[], boolean[]) - Method in interface ch.ethz.ssh2.InteractiveCallback
This callback interface is used during a "keyboard-interactive" authentication.
requestDumbPTY() - Method in class ch.ethz.ssh2.Session
Basically just a wrapper for lazy people - identical to calling requestPTY("dumb", 0, 0, 0, 0, null).
requestHeaderLines - Variable in class ch.ethz.ssh2.HTTPProxyData
 
requestPTY(String) - Method in class ch.ethz.ssh2.Session
Basically just another wrapper for lazy people - identical to calling requestPTY(term, 0, 0, 0, 0, null).
requestPTY(String, int, int, int, int, byte[]) - Method in class ch.ethz.ssh2.Session
Allocate a pseudo-terminal for this session.
requestRemotePortForwarding(String, int, String, int) - Method in class ch.ethz.ssh2.Connection
Request a remote port forwarding.
requestX11Forwarding(String, int, byte[], boolean) - Method in class ch.ethz.ssh2.Session
Request X11 forwarding for the current session.
rm(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Remove a file.
rmdir(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Remove an empty directory.

S

SCPClient - class ch.ethz.ssh2.SCPClient.
A very basic SCPClient that can be used to copy files from/to the SSH-2 server.
SCPClient(Connection) - Constructor for class ch.ethz.ssh2.SCPClient
 
SFTPException - exception ch.ethz.ssh2.SFTPException.
Used in combination with the SFTPv3Client.
SFTPv3Client - class ch.ethz.ssh2.SFTPv3Client.
A SFTPv3Client represents a SFTP (protocol version 3) client connection tunnelled over a SSH-2 connection.
SFTPv3Client(Connection, PrintStream) - Constructor for class ch.ethz.ssh2.SFTPv3Client
Deprecated. this constructor (debug version) will disappear in the future, use SFTPv3Client.SFTPv3Client(Connection) instead.
SFTPv3Client(Connection) - Constructor for class ch.ethz.ssh2.SFTPv3Client
Create a SFTP v3 client.
SFTPv3DirectoryEntry - class ch.ethz.ssh2.SFTPv3DirectoryEntry.
A SFTPv3DirectoryEntry as returned by SFTPv3Client.ls(String).
SFTPv3DirectoryEntry() - Constructor for class ch.ethz.ssh2.SFTPv3DirectoryEntry
 
SFTPv3FileAttributes - class ch.ethz.ssh2.SFTPv3FileAttributes.
A SFTPv3FileAttributes object represents detail information about a file on the server.
SFTPv3FileAttributes() - Constructor for class ch.ethz.ssh2.SFTPv3FileAttributes
 
SFTPv3FileHandle - class ch.ethz.ssh2.SFTPv3FileHandle.
A SFTPv3FileHandle.
STDERR_DATA - Static variable in interface ch.ethz.ssh2.ChannelCondition
There is stderr data available that is ready to be consumed.
STDOUT_DATA - Static variable in interface ch.ethz.ssh2.ChannelCondition
There is stdout data available that is ready to be consumed.
ServerHostKeyVerifier - interface ch.ethz.ssh2.ServerHostKeyVerifier.
A callback interface used to implement a client specific method of checking server host keys.
Session - class ch.ethz.ssh2.Session.
A Session is a remote execution of a program.
StreamGobbler - class ch.ethz.ssh2.StreamGobbler.
A StreamGobbler is an InputStream that uses an internal worker thread to constantly consume input from another InputStream.
StreamGobbler(InputStream) - Constructor for class ch.ethz.ssh2.StreamGobbler
 
serverHostKey - Variable in class ch.ethz.ssh2.ConnectionInfo
The server host key that was sent during the latest key exchange.
serverHostKeyAlgorithm - Variable in class ch.ethz.ssh2.ConnectionInfo
The type of the server host key (currently either "ssh-dss" or "ssh-rsa").
serverToClientCryptoAlgorithm - Variable in class ch.ethz.ssh2.ConnectionInfo
The currently used crypto algorithm for packets from to the server to the client.
serverToClientMACAlgorithm - Variable in class ch.ethz.ssh2.ConnectionInfo
The currently used MAC algorithm for packets from to the server to the client.
setCharset(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Set the charset used to convert between Java Unicode Strings and byte encodings used by the server for paths and file names.
setClient2ServerCiphers(String[]) - Method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
setClient2ServerMACs(String[]) - Method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
setDHGexParameters(DHGexParameters) - Method in class ch.ethz.ssh2.Connection
Sets the parameters for the diffie-hellman group exchange.
setProxyData(ProxyData) - Method in class ch.ethz.ssh2.Connection
Used to tell the library that the connection shall be established through a proxy server.
setSecureRandom(SecureRandom) - Method in class ch.ethz.ssh2.Connection
Provide your own instance of SecureRandom.
setServer2ClientCiphers(String[]) - Method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
setServer2ClientMACs(String[]) - Method in class ch.ethz.ssh2.Connection
Unless you know what you are doing, you will never need this.
setServerHostKeyAlgorithms(String[]) - Method in class ch.ethz.ssh2.Connection
Define the set of allowed server host key algorithms to be used for the following key exchange operations.
setTCPNoDelay(boolean) - Method in class ch.ethz.ssh2.Connection
Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm) on the underlying socket.
setstat(String, SFTPv3FileAttributes) - Method in class ch.ethz.ssh2.SFTPv3Client
Modify the attributes of a file.
size - Variable in class ch.ethz.ssh2.SFTPv3FileAttributes
The SIZE attribute.
startShell() - Method in class ch.ethz.ssh2.Session
Start a shell on the remote machine.
startSubSystem(String) - Method in class ch.ethz.ssh2.Session
Start a subsystem on the remote machine.
stat(String) - Method in class ch.ethz.ssh2.SFTPv3Client
Retrieve the file attributes of a file.

T

TIMEOUT - Static variable in interface ch.ethz.ssh2.ChannelCondition
A timeout has occurred, none of your requested conditions is fulfilled.

U

uid - Variable in class ch.ethz.ssh2.SFTPv3FileAttributes
The UID attribute.

V

verifyHostkey(String, String, byte[]) - Method in class ch.ethz.ssh2.KnownHosts
Checks the internal hostkey database for the given hostkey.
verifyServerHostKey(String, int, String, byte[]) - Method in interface ch.ethz.ssh2.ServerHostKeyVerifier
The actual verifier method, it will be called by the key exchange code on EVERY key exchange - this can happen several times during the lifetime of a connection.

W

waitForCondition(int, long) - Method in class ch.ethz.ssh2.Session
This method blocks until certain conditions hold true on the underlying SSH-2 channel.
waitUntilDataAvailable(long) - Method in class ch.ethz.ssh2.Session
Deprecated. This method has been replaced with a much more powerful wait-for-condition interface and therefore acts only as a wrapper.
write(SFTPv3FileHandle, long, byte[], int, int) - Method in class ch.ethz.ssh2.SFTPv3Client
Write bytes to a file.

A C D E F G H I K L M O P R S T U V W
Ganymed SSH-2 for Java

!!! Dieses Dokument stammt aus dem ETH Web-Archiv und wird nicht mehr gepflegt !!!
!!! This document is stored in the ETH Web archive and is no longer maintained !!!