A B C D E F G H I K L M N O P R S T U V W X 
All Classes All Packages

A

addConnectionMonitor(ConnectionMonitor) - Method in class com.trilead.ssh2.Connection
Add a ConnectionMonitor to this connection.
addHostkey(String[], String, byte[]) - Method in class com.trilead.ssh2.KnownHosts
Adds a single public key entry to the database.
addHostkeys(char[]) - Method in class com.trilead.ssh2.KnownHosts
Parses the given known_hosts data and adds entries to the database.
addHostkeys(File) - Method in class com.trilead.ssh2.KnownHosts
Parses the given known_hosts file and adds entries to the database.
addHostkeyToFile(File, String[], String, byte[]) - Static method in class com.trilead.ssh2.KnownHosts
Adds a single public key entry to the a known_hosts file.
addTimeoutHandler(long, Runnable) - Static method in class com.trilead.ssh2.util.TimeoutService
It is assumed that the passed handler will not execute for a long time.
AES - Class in com.trilead.ssh2.crypto.cipher
An implementation of the AES (Rijndael), from FIPS-197.
AES() - Constructor for class com.trilead.ssh2.crypto.cipher.AES
default constructor - 128 bit block size.
AgentIdentity - Interface in com.trilead.ssh2.auth
 
AgentProxy - Interface in com.trilead.ssh2.auth
 
atime - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The ATIME attribute.
AttribBits - Class in com.trilead.ssh2.sftp
SFTP Attribute Bits for the "attrib-bits" and "attrib-bits-valid" fields of the SFTP ATTR data type.
AttribBits() - Constructor for class com.trilead.ssh2.sftp.AttribBits
 
AttribFlags - Class in com.trilead.ssh2.sftp
Attribute Flags.
AttribFlags() - Constructor for class com.trilead.ssh2.sftp.AttribFlags
 
AttribPermissions - Class in com.trilead.ssh2.sftp
Permissions for the 'permissions' field in the SFTP ATTRS data type.
AttribPermissions() - Constructor for class com.trilead.ssh2.sftp.AttribPermissions
 
AttribTypes - Class in com.trilead.ssh2.sftp
Types for the 'type' field in the SFTP ATTRS data type.
AttribTypes() - Constructor for class com.trilead.ssh2.sftp.AttribTypes
 
attributes - Variable in class com.trilead.ssh2.SFTPv3DirectoryEntry
The attributes of this entry.
AttrTextHints - Class in com.trilead.ssh2.sftp
Values for the 'text-hint' field in the SFTP ATTRS data type.
AttrTextHints() - Constructor for class com.trilead.ssh2.sftp.AttrTextHints
 
authenticateInteractive(String, String[], InteractiveCallback) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticateNone(String) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticatePassword(String, String) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticatePublicKey(String, char[], String, SecureRandom) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticatePublicKey(String, AgentProxy) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticateWithAgent(String, AgentProxy) - Method in class com.trilead.ssh2.Connection
 
authenticateWithDSA(String, String, String) - Method in class com.trilead.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 com.trilead.ssh2.Connection
A wrapper that calls authenticateWithKeyboardInteractivewith a null submethod list.
authenticateWithKeyboardInteractive(String, String[], InteractiveCallback) - Method in class com.trilead.ssh2.Connection
After a successful connect, one has to authenticate oneself.
authenticateWithNone(String) - Method in class com.trilead.ssh2.Connection
After a successful connect, one has to authenticate oneself.
authenticateWithPassword(String, String) - Method in class com.trilead.ssh2.Connection
After a successful connect, one has to authenticate oneself.
authenticateWithPublicKey(String, char[], String) - Method in class com.trilead.ssh2.Connection
After a successful connect, one has to authenticate oneself.
authenticateWithPublicKey(String, File, String) - Method in class com.trilead.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).
AuthenticationManager - Class in com.trilead.ssh2.auth
AuthenticationManager.
AuthenticationManager(TransportManager) - Constructor for class com.trilead.ssh2.auth.AuthenticationManager
 
available() - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
available() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
available() - Method in class com.trilead.ssh2.StreamGobbler
 

B

Base64 - Class in com.trilead.ssh2.crypto
Basic Base64 Support.
Base64() - Constructor for class com.trilead.ssh2.crypto.Base64
 
bindAddress - Variable in class com.trilead.ssh2.channel.RemoteForwardingData
 
bindAddress - Variable in class com.trilead.ssh2.packets.PacketGlobalCancelForwardRequest
 
bindAddress - Variable in class com.trilead.ssh2.packets.PacketGlobalForwardRequest
 
bindPort - Variable in class com.trilead.ssh2.channel.RemoteForwardingData
 
bindPort - Variable in class com.trilead.ssh2.packets.PacketGlobalCancelForwardRequest
 
bindPort - Variable in class com.trilead.ssh2.packets.PacketGlobalForwardRequest
 
BlockCipher - Interface in com.trilead.ssh2.crypto.cipher
BlockCipher.
BlockCipherFactory - Class in com.trilead.ssh2.crypto.cipher
BlockCipherFactory.
BlockCipherFactory() - Constructor for class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
BlowFish - Class in com.trilead.ssh2.crypto.cipher
A class that provides Blowfish key encryption operations, such as encoding data and generating keys.
BlowFish() - Constructor for class com.trilead.ssh2.crypto.cipher.BlowFish
 

C

c2s_enc_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
c2s_mac_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
calculateH(byte[], byte[], byte[], byte[], byte[]) - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
calculateH(byte[], byte[], byte[], byte[], byte[], DHGexParameters) - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
cancelRemotePortForwarding(int) - Method in class com.trilead.ssh2.Connection
Cancel an earlier requested remote port forwarding.
cancelTimeoutHandler(TimeoutService.TimeoutToken) - Static method in class com.trilead.ssh2.util.TimeoutService
 
canonicalPath(String) - Method in class com.trilead.ssh2.SFTPv3Client
Have the server canonicalize any given path name to an absolute path.
CBCMode - Class in com.trilead.ssh2.crypto.cipher
CBCMode.
CBCMode(BlockCipher, byte[], boolean) - Constructor for class com.trilead.ssh2.crypto.cipher.CBCMode
 
changeCipher(BlockCipher) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
changeCipher(BlockCipher) - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
changeRecvCipher(BlockCipher, MAC) - Method in class com.trilead.ssh2.transport.TransportConnection
 
changeRecvCipher(BlockCipher, MAC) - Method in class com.trilead.ssh2.transport.TransportManager
 
changeSendCipher(BlockCipher, MAC) - Method in class com.trilead.ssh2.transport.TransportConnection
 
changeSendCipher(BlockCipher, MAC) - Method in class com.trilead.ssh2.transport.TransportManager
 
Channel - Class in com.trilead.ssh2.channel
Channel.
Channel(ChannelManager) - Constructor for class com.trilead.ssh2.channel.Channel
 
ChannelCondition - Interface in com.trilead.ssh2
Contains constants that can be used to specify what conditions to wait for on a SSH-2 channel (e.g., represented by a Session).
ChannelInputStream - Class in com.trilead.ssh2.channel
ChannelInputStream.
ChannelManager - Class in com.trilead.ssh2.channel
ChannelManager.
ChannelManager(TransportManager) - Constructor for class com.trilead.ssh2.channel.ChannelManager
 
ChannelOutputStream - Class in com.trilead.ssh2.channel
ChannelOutputStream.
character_height - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
character_width - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
checkCipherList(String[]) - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
checkKexAlgorithmList(String[]) - Static method in class com.trilead.ssh2.transport.KexManager
 
checkMacList(String[]) - Static method in class com.trilead.ssh2.crypto.digest.MAC
 
checkServerHostkeyAlgorithmsList(String[]) - Static method in class com.trilead.ssh2.transport.KexManager
 
checkX11Cookie(String) - Method in class com.trilead.ssh2.channel.ChannelManager
 
CipherInputStream - Class in com.trilead.ssh2.crypto.cipher
CipherInputStream.
CipherInputStream(BlockCipher, InputStream) - Constructor for class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
CipherOutputStream - Class in com.trilead.ssh2.crypto.cipher
CipherOutputStream.
CipherOutputStream(BlockCipher, OutputStream) - Constructor for class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
ClientServerHello - Class in com.trilead.ssh2.transport
ClientServerHello.
ClientServerHello(InputStream, OutputStream) - Constructor for class com.trilead.ssh2.transport.ClientServerHello
 
clientToServerCryptoAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The currently used crypto algorithm for packets from to the client to the server.
clientToServerMACAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The currently used MAC algorithm for packets from to the client to the server.
close() - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
close() - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
close() - Method in class com.trilead.ssh2.Connection
Close the connection to the SSH-2 server.
close() - Method in class com.trilead.ssh2.LocalPortForwarder
Stop TCP/IP forwarding of newly arriving connections.
close() - Method in class com.trilead.ssh2.LocalStreamForwarder
Close the underlying SSH forwarding channel and free up resources.
close() - Method in class com.trilead.ssh2.Session
Close this session.
close() - Method in class com.trilead.ssh2.SFTPv3Client
Close this SFTP session.
close() - Method in class com.trilead.ssh2.StreamGobbler
 
close(Throwable, boolean) - Method in class com.trilead.ssh2.transport.TransportManager
 
closeAllChannels() - Method in class com.trilead.ssh2.channel.ChannelManager
 
closeChannel(Channel, String, boolean) - Method in class com.trilead.ssh2.channel.ChannelManager
 
CLOSED - Static variable in interface com.trilead.ssh2.ChannelCondition
The underlying SSH-2 channel, however not necessarily the whole connection, has been closed.
closeFile(SFTPv3FileHandle) - Method in class com.trilead.ssh2.SFTPv3Client
Close a file.
com.trilead.ssh2 - package com.trilead.ssh2
 
com.trilead.ssh2.auth - package com.trilead.ssh2.auth
 
com.trilead.ssh2.channel - package com.trilead.ssh2.channel
 
com.trilead.ssh2.crypto - package com.trilead.ssh2.crypto
 
com.trilead.ssh2.crypto.cipher - package com.trilead.ssh2.crypto.cipher
 
com.trilead.ssh2.crypto.dh - package com.trilead.ssh2.crypto.dh
 
com.trilead.ssh2.crypto.digest - package com.trilead.ssh2.crypto.digest
 
com.trilead.ssh2.log - package com.trilead.ssh2.log
 
com.trilead.ssh2.packets - package com.trilead.ssh2.packets
 
com.trilead.ssh2.sftp - package com.trilead.ssh2.sftp
 
com.trilead.ssh2.signature - package com.trilead.ssh2.signature
 
com.trilead.ssh2.transport - package com.trilead.ssh2.transport
 
com.trilead.ssh2.util - package com.trilead.ssh2.util
 
command - Variable in class com.trilead.ssh2.packets.PacketSessionExecCommand
 
comp_algo_client_to_server - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
comp_algo_server_to_client - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
compareTo(Object) - Method in class com.trilead.ssh2.util.TimeoutService.TimeoutToken
 
compression_algorithms_client_to_server - Variable in class com.trilead.ssh2.transport.KexParameters
 
compression_algorithms_server_to_client - Variable in class com.trilead.ssh2.transport.KexParameters
 
connect() - Method in class com.trilead.ssh2.Connection
connect(ServerHostKeyVerifier) - Method in class com.trilead.ssh2.Connection
connect(ServerHostKeyVerifier, int, int) - Method in class com.trilead.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.
connect(ServerHostKeyVerifier, int, int, int) - Method in class com.trilead.ssh2.Connection
 
Connection - Class in com.trilead.ssh2
A Connection is used to establish an encrypted TCP/IP connection to a SSH-2 server.
Connection(String) - Constructor for class com.trilead.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 com.trilead.ssh2.Connection
Prepares a fresh Connection object which can then be used to establish a connection to the specified SSH-2 server.
ConnectionInfo - Class in com.trilead.ssh2
In most cases you probably do not need the information contained in here.
ConnectionInfo() - Constructor for class com.trilead.ssh2.ConnectionInfo
 
connectionLost(Throwable) - Method in interface com.trilead.ssh2.ConnectionMonitor
This method is called after the connection's underlying socket has been closed.
ConnectionMonitor - Interface in com.trilead.ssh2
A ConnectionMonitor is used to get notified when the underlying socket of a connection is closed.
cookie - Variable in class com.trilead.ssh2.transport.KexParameters
 
create(String, byte[], BigInteger, byte[], int, int, int, int, int, int) - Static method in class com.trilead.ssh2.crypto.KeyMaterial
 
createBubblebabbleFingerprint(String, byte[]) - Static method in class com.trilead.ssh2.KnownHosts
Convert a ssh2 key-blob into a human readable bubblebabble fingerprint.
createCipher(String, boolean, byte[], byte[]) - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
createFile(String) - Method in class com.trilead.ssh2.SFTPv3Client
Create a file and open it for reading and writing.
createFile(String, SFTPv3FileAttributes) - Method in class com.trilead.ssh2.SFTPv3Client
Create a file and open it for reading and writing.
createFileTruncate(String) - Method in class com.trilead.ssh2.SFTPv3Client
Create a file (truncate it if it already exists) and open it for reading and writing.
createFileTruncate(String, SFTPv3FileAttributes) - Method in class com.trilead.ssh2.SFTPv3Client
reate a file (truncate it if it already exists) and open it for reading and writing.
createHashedHostname(String) - Static method in class com.trilead.ssh2.KnownHosts
Generate the hashed representation of the given hostname.
createHexFingerprint(String, byte[]) - Static method in class com.trilead.ssh2.KnownHosts
Convert a ssh2 key-blob into a human readable hex fingerprint.
createLocalPortForwarder(int, String, int) - Method in class com.trilead.ssh2.Connection
Creates a new LocalPortForwarder.
createLocalPortForwarder(InetSocketAddress, String, int) - Method in class com.trilead.ssh2.Connection
Creates a new LocalPortForwarder.
createLocalStreamForwarder(String, int) - Method in class com.trilead.ssh2.Connection
Creates a new LocalStreamForwarder.
createSCPClient() - Method in class com.trilead.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 com.trilead.ssh2.SFTPv3Client
Create a symbolic link on the server.
CryptoWishList - Class in com.trilead.ssh2.crypto
CryptoWishList.
CryptoWishList() - Constructor for class com.trilead.ssh2.crypto.CryptoWishList
 
CTRMode - Class in com.trilead.ssh2.crypto.cipher
This is CTR mode as described in draft-ietf-secsh-newmodes-XY.txt
CTRMode(BlockCipher, byte[], boolean) - Constructor for class com.trilead.ssh2.crypto.cipher.CTRMode
 

D

DebugLogger - Interface in com.trilead.ssh2
An interface which needs to be implemented if you want to capture debugging messages.
decode(char[]) - Static method in class com.trilead.ssh2.crypto.Base64
 
decode(char[], String) - Static method in class com.trilead.ssh2.crypto.PEMDecoder
 
decodeSSHDSAPublicKey(byte[]) - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
decodeSSHDSASignature(byte[]) - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
decodeSSHRSAPublicKey(byte[]) - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 
decodeSSHRSASignature(byte[]) - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 
DES - Class in com.trilead.ssh2.crypto.cipher
DES.
DES() - Constructor for class com.trilead.ssh2.crypto.cipher.DES
standard constructor.
description - Variable in class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
DESede - Class in com.trilead.ssh2.crypto.cipher
DESede.
DESede() - Constructor for class com.trilead.ssh2.crypto.cipher.DESede
standard constructor.
desFunc(int[], byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.DES
the DES engine.
DhExchange - Class in com.trilead.ssh2.crypto.dh
DhExchange.
DhExchange() - Constructor for class com.trilead.ssh2.crypto.dh.DhExchange
 
dhgexParameters - Variable in class com.trilead.ssh2.transport.KexState
 
DHGexParameters - Class in com.trilead.ssh2
A DHGexParameters object can be used to specify parameters for the diffie-hellman group exchange.
DHGexParameters() - Constructor for class com.trilead.ssh2.DHGexParameters
DHGexParameters(int) - Constructor for class com.trilead.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 com.trilead.ssh2.DHGexParameters
This constructor can be used to force the sending of a SSH_MSG_KEX_DH_GEX_REQUEST request.
DhGroupExchange - Class in com.trilead.ssh2.crypto.dh
DhGroupExchange.
DhGroupExchange(BigInteger, BigInteger) - Constructor for class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
dhgx - Variable in class com.trilead.ssh2.transport.KexState
 
dhx - Variable in class com.trilead.ssh2.transport.KexState
 
digest(byte[]) - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
digest(byte[]) - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
digest(byte[]) - Method in class com.trilead.ssh2.crypto.digest.MD5
 
digest(byte[]) - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
digest(byte[], int) - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
digest(byte[], int) - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
digest(byte[], int) - Method in class com.trilead.ssh2.crypto.digest.MD5
 
digest(byte[], int) - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
Digest - Interface in com.trilead.ssh2.crypto.digest
Digest.
DSAPrivateKey - Class in com.trilead.ssh2.signature
DSAPrivateKey.
DSAPrivateKey(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class com.trilead.ssh2.signature.DSAPrivateKey
 
DSAPublicKey - Class in com.trilead.ssh2.signature
DSAPublicKey.
DSAPublicKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class com.trilead.ssh2.signature.DSAPublicKey
 
DSASHA1Verify - Class in com.trilead.ssh2.signature
DSASHA1Verify.
DSASHA1Verify() - Constructor for class com.trilead.ssh2.signature.DSASHA1Verify
 
DSASignature - Class in com.trilead.ssh2.signature
DSASignature.
DSASignature(BigInteger, BigInteger) - Constructor for class com.trilead.ssh2.signature.DSASignature
 

E

enabled - Static variable in class com.trilead.ssh2.log.Logger
 
enableDebugging(boolean, DebugLogger) - Method in class com.trilead.ssh2.Connection
Enable/disable debug logging.
enc_algo_client_to_server - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
enc_algo_server_to_client - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
enc_key_client_to_server - Variable in class com.trilead.ssh2.crypto.KeyMaterial
 
enc_key_server_to_client - Variable in class com.trilead.ssh2.crypto.KeyMaterial
 
encode(byte[]) - Static method in class com.trilead.ssh2.crypto.Base64
 
encodeSSHDSAPublicKey(DSAPublicKey) - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
encodeSSHDSASignature(DSASignature) - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
encodeSSHRSAPublicKey(RSAPublicKey) - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 
encodeSSHRSASignature(RSASignature) - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 
encryption_algorithms_client_to_server - Variable in class com.trilead.ssh2.transport.KexParameters
 
encryption_algorithms_server_to_client - Variable in class com.trilead.ssh2.transport.KexParameters
 
EOF - Static variable in interface com.trilead.ssh2.ChannelCondition
EOF on has been reached, no more _new_ stdout or stderr data will arrive from the remote server.
ErrorCodes - Class in com.trilead.ssh2.sftp
SFTP Error Codes
ErrorCodes() - Constructor for class com.trilead.ssh2.sftp.ErrorCodes
 
execCommand(String) - Method in class com.trilead.ssh2.Session
Execute a command on the remote machine.
EXIT_SIGNAL - Static variable in interface com.trilead.ssh2.ChannelCondition
The exit signal of the remote process is available.
EXIT_STATUS - Static variable in interface com.trilead.ssh2.ChannelCondition
The exit status of the remote process is available.

F

filename - Variable in class com.trilead.ssh2.SFTPv3DirectoryEntry
A relative name within the directory, without any path components.
first_kex_packet_follows - Variable in class com.trilead.ssh2.transport.KexParameters
 
flush() - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
flush() - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
forceKeyExchange() - Method in class com.trilead.ssh2.Connection
Force an asynchronous key re-exchange (the call does not block).
forceKeyExchange(CryptoWishList, DHGexParameters) - Method in class com.trilead.ssh2.transport.TransportManager
 
fsetstat(SFTPv3FileHandle, SFTPv3FileAttributes) - Method in class com.trilead.ssh2.SFTPv3Client
Modify the attributes of a file.
fstat(SFTPv3FileHandle) - Method in class com.trilead.ssh2.SFTPv3Client
Retrieve the file attributes of an open file.

G

generateSignature(byte[], DSAPrivateKey, SecureRandom) - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
generateSignature(byte[], RSAPrivateKey) - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 
generateWorkingKey(boolean, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.DES
generate an integer based working key based on our secret key and what we processing we are planning to do.
get(String[], String) - Method in class com.trilead.ssh2.SCPClient
Download a set of files from the remote server to a local directory.
get(String, OutputStream) - Method in class com.trilead.ssh2.SCPClient
Download a file from the remote server and pipe its contents into an OutputStream.
get(String, String) - Method in class com.trilead.ssh2.SCPClient
Download a file from the remote server to a local directory.
getAlgName() - Method in interface com.trilead.ssh2.auth.AgentIdentity
 
getAlgorithmName() - Method in class com.trilead.ssh2.crypto.cipher.AES
 
getAlgorithmName() - Method in class com.trilead.ssh2.crypto.cipher.BlowFish
 
getAlgorithmName() - Method in class com.trilead.ssh2.crypto.cipher.DES
 
getAlgorithmName() - Method in class com.trilead.ssh2.crypto.cipher.DESede
 
getAuthThatCanContinue() - Method in class com.trilead.ssh2.packets.PacketUserauthFailure
 
getAvailable(Channel, boolean) - Method in class com.trilead.ssh2.channel.ChannelManager
 
getAvailableCiphers() - Static method in class com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
getAvailableMACs() - Static method in class com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
getAvailableServerHostKeyAlgorithms() - Static method in class com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
getBanner() - Method in class com.trilead.ssh2.packets.PacketUserauthBanner
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.AES
 
getBlockSize() - Method in interface com.trilead.ssh2.crypto.cipher.BlockCipher
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.BlowFish
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.CBCMode
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.CTRMode
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.DES
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.DESede
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.NullCipher
 
getBlockSize(String) - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
getBytes() - Method in class com.trilead.ssh2.packets.TypesWriter
 
getBytes(byte[]) - Method in class com.trilead.ssh2.packets.TypesWriter
 
getChannelData(Channel, boolean, byte[], int, int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
getCharset() - Method in class com.trilead.ssh2.SFTPv3Client
The currently used charset for filename encoding/decoding.
getClient() - Method in class com.trilead.ssh2.SFTPv3FileHandle
Get the SFTPv3Client instance which created this handle.
getClientString() - Method in class com.trilead.ssh2.transport.ClientServerHello
 
getCompression_algorithms_client_to_server() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getCompression_algorithms_server_to_client() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getConnectionInfo() - Method in class com.trilead.ssh2.Connection
Returns a ConnectionInfo object containing the details of the connection.
getConnectionInfo(int) - Method in class com.trilead.ssh2.transport.TransportManager
 
getCookie() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getD() - Method in class com.trilead.ssh2.signature.RSAPrivateKey
 
getDefaultCipherList() - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
getDefaultKexAlgorithmList() - Static method in class com.trilead.ssh2.transport.KexManager
 
getDefaultServerHostkeyAlgorithmList() - Static method in class com.trilead.ssh2.transport.KexManager
 
getDescription(int) - Static method in class com.trilead.ssh2.sftp.ErrorCodes
 
getDigest() - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
getDigest(byte[]) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
getDigest(byte[], int) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
getDigestLength() - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
getDigestLength() - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
getDigestLength() - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
getDigestLength() - Method in class com.trilead.ssh2.crypto.digest.MD5
 
getDigestLength() - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
getE() - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
getE() - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
getE() - Method in class com.trilead.ssh2.signature.RSAPrivateKey
 
getE() - Method in class com.trilead.ssh2.signature.RSAPublicKey
 
getEcho() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getEncryption_algorithms_client_to_server() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getEncryption_algorithms_server_to_client() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getExitSignal() - Method in class com.trilead.ssh2.channel.Channel
 
getExitSignal() - Method in class com.trilead.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 com.trilead.ssh2.channel.Channel
 
getExitStatus() - Method in class com.trilead.ssh2.Session
Get the exit code/status from the remote command - if available.
getF() - Method in class com.trilead.ssh2.packets.PacketKexDhGexReply
 
getF() - Method in class com.trilead.ssh2.packets.PacketKexDHReply
 
getG() - Method in class com.trilead.ssh2.packets.PacketKexDhGexGroup
 
getG() - Method in class com.trilead.ssh2.signature.DSAPrivateKey
 
getG() - Method in class com.trilead.ssh2.signature.DSAPublicKey
 
getHostKey() - Method in class com.trilead.ssh2.packets.PacketKexDhGexReply
 
getHostKey() - Method in class com.trilead.ssh2.packets.PacketKexDHReply
 
getHostname() - Method in class com.trilead.ssh2.Connection
Returns the hostname that was passed to the constructor.
getIdentities() - Method in interface com.trilead.ssh2.auth.AgentProxy
 
getInputStream() - Method in class com.trilead.ssh2.LocalStreamForwarder
 
getInstruction() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getK() - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
getK() - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
getKex_algorithms() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getKexParameters() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getKeyLen(String) - Static method in class com.trilead.ssh2.crypto.digest.MAC
 
getKeySize(String) - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
getLanguages_client_to_server() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getLanguages_server_to_client() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getLanguageTag() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getLogger(Class) - Static method in class com.trilead.ssh2.log.Logger
 
getMac(byte[], int) - Method in class com.trilead.ssh2.crypto.digest.MAC
 
getMac_algorithms_client_to_server() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getMac_algorithms_server_to_client() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getMacList() - Static method in class com.trilead.ssh2.crypto.digest.MAC
 
getMax_group_len() - Method in class com.trilead.ssh2.DHGexParameters
Get the maximum group length.
getMessageName(int) - Static method in class com.trilead.ssh2.packets.Packets
 
getMin_group_len() - Method in class com.trilead.ssh2.DHGexParameters
Get the minimum group length.
getN() - Method in class com.trilead.ssh2.signature.RSAPrivateKey
 
getN() - Method in class com.trilead.ssh2.signature.RSAPublicKey
 
getName() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getNumPrompts() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getOctalPermissions() - Method in class com.trilead.ssh2.SFTPv3FileAttributes
Turn the POSIX permissions into a 7 digit octal representation.
getOrWaitForConnectionInfo(int) - Method in class com.trilead.ssh2.transport.KexManager
 
getOutputStream() - Method in class com.trilead.ssh2.LocalStreamForwarder
Get the OutputStream.
getP() - Method in class com.trilead.ssh2.packets.PacketKexDhGexGroup
 
getP() - Method in class com.trilead.ssh2.signature.DSAPrivateKey
 
getP() - Method in class com.trilead.ssh2.signature.DSAPublicKey
 
getPacketOverheadEstimate() - Method in class com.trilead.ssh2.transport.TransportConnection
 
getPacketOverheadEstimate() - Method in class com.trilead.ssh2.transport.TransportManager
 
getPartialSuccess() - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketChannelTrileadPing
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketDisconnect
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketGlobalCancelForwardRequest
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketGlobalForwardRequest
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketGlobalTrileadPing
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketIgnore
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketKexDhGexInit
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketKexDhGexRequest
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketKexDhGexRequestOld
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketKexDHInit
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketNewKeys
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketOpenDirectTCPIPChannel
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketOpenSessionChannel
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketServiceAccept
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketServiceRequest
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketSessionExecCommand
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketSessionStartShell
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketSessionSubsystemRequest
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketSessionX11Request
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketUserauthBanner
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoResponse
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketUserauthRequestInteractive
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketUserauthRequestNone
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketUserauthRequestPassword
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketUserauthRequestPublicKey
 
getPort() - Method in class com.trilead.ssh2.Connection
Returns the port that was passed to the constructor.
getPref_group_len() - Method in class com.trilead.ssh2.DHGexParameters
Get the preferred group length.
getPreferredServerHostkeyAlgorithmOrder(String) - Method in class com.trilead.ssh2.KnownHosts
Try to find the preferred order of hostkey algorithms for the given hostname.
getPrompt() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getProtocolVersion() - Method in class com.trilead.ssh2.SFTPv3Client
Returns the negotiated SFTP protocol version between the client and the server.
getPublicKey() - Method in class com.trilead.ssh2.signature.DSAPrivateKey
 
getPublicKey() - Method in class com.trilead.ssh2.signature.RSAPrivateKey
 
getPublicKeyBlob() - Method in interface com.trilead.ssh2.auth.AgentIdentity
 
getQ() - Method in class com.trilead.ssh2.signature.DSAPrivateKey
 
getQ() - Method in class com.trilead.ssh2.signature.DSAPublicKey
 
getR() - Method in class com.trilead.ssh2.signature.DSASignature
 
getReasonClosed() - Method in class com.trilead.ssh2.channel.Channel
 
getReasonClosedCause() - Method in class com.trilead.ssh2.transport.TransportManager
 
getRemainingAuthMethods(String) - Method in class com.trilead.ssh2.Connection
After a successful connect, one has to authenticate oneself.
getRemainingMethods(String) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
getReserved_field1() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getS() - Method in class com.trilead.ssh2.signature.DSASignature
 
getS() - Method in class com.trilead.ssh2.signature.RSASignature
 
getServer_host_key_algorithms() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getServerErrorCode() - Method in exception com.trilead.ssh2.SFTPException
Get the error code sent by the server.
getServerErrorCodeSymbol() - Method in exception com.trilead.ssh2.SFTPException
Get the symbolic name of the error code as given in the SFTP specs.
getServerErrorCodeVerbose() - Method in exception com.trilead.ssh2.SFTPException
Get the description of the error code as given in the SFTP specs.
getServerErrorMessage() - Method in exception com.trilead.ssh2.SFTPException
Get the error message sent by the server.
getServerString() - Method in class com.trilead.ssh2.transport.ClientServerHello
 
getSessionIdentifier() - Method in class com.trilead.ssh2.transport.TransportManager
 
getSignature() - Method in class com.trilead.ssh2.packets.PacketKexDhGexReply
 
getSignature() - Method in class com.trilead.ssh2.packets.PacketKexDHReply
 
getStderr() - Method in class com.trilead.ssh2.Session
 
getStderrStream() - Method in class com.trilead.ssh2.channel.Channel
 
getStdin() - Method in class com.trilead.ssh2.Session
 
getStdinStream() - Method in class com.trilead.ssh2.channel.Channel
 
getStdout() - Method in class com.trilead.ssh2.Session
 
getStdoutStream() - Method in class com.trilead.ssh2.channel.Channel
 
getVersionInfo() - Method in class com.trilead.ssh2.Connection
 
getVersionInfo() - Method in class com.trilead.ssh2.transport.TransportManager
 
getX() - Method in class com.trilead.ssh2.signature.DSAPrivateKey
 
getY() - Method in class com.trilead.ssh2.signature.DSAPrivateKey
 
getY() - Method in class com.trilead.ssh2.signature.DSAPublicKey
 
gid - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The GID attribute.
guessOK - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 

H

H - Variable in class com.trilead.ssh2.transport.KexState
 
handleMessage(byte[], int) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
handleMessage(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
handleMessage(byte[], int) - Method in class com.trilead.ssh2.transport.KexManager
 
handleMessage(byte[], int) - Method in interface com.trilead.ssh2.transport.MessageHandler
 
HashForSSH2Types - Class in com.trilead.ssh2.crypto.digest
HashForSSH2Types.
HashForSSH2Types(Digest) - Constructor for class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
HashForSSH2Types(String) - Constructor for class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
HMAC - Class in com.trilead.ssh2.crypto.digest
HMAC.
HMAC(Digest, byte[], int) - Constructor for class com.trilead.ssh2.crypto.digest.HMAC
 
hostkey - Variable in class com.trilead.ssh2.transport.KexState
 
HOSTKEY_HAS_CHANGED - Static variable in class com.trilead.ssh2.KnownHosts
 
HOSTKEY_IS_NEW - Static variable in class com.trilead.ssh2.KnownHosts
 
HOSTKEY_IS_OK - Static variable in class com.trilead.ssh2.KnownHosts
 
hostname - Variable in class com.trilead.ssh2.channel.X11ServerData
 
httpErrorCode - Variable in exception com.trilead.ssh2.HTTPProxyException
 
HTTPProxyData - Class in com.trilead.ssh2
A HTTPProxyData object is used to specify the needed connection data to connect through a HTTP proxy.
HTTPProxyData(String, int) - Constructor for class com.trilead.ssh2.HTTPProxyData
HTTPProxyData(String, int, String, String) - Constructor for class com.trilead.ssh2.HTTPProxyData
HTTPProxyData(String, int, String, String, String[]) - Constructor for class com.trilead.ssh2.HTTPProxyData
Connection data for a HTTP proxy.
HTTPProxyException - Exception in com.trilead.ssh2
May be thrown upon connect() if a HTTP proxy is being used.
HTTPProxyException(String, int) - Constructor for exception com.trilead.ssh2.HTTPProxyException
 
httpResponse - Variable in exception com.trilead.ssh2.HTTPProxyException
 

I

identification - Static variable in class com.trilead.ssh2.Connection
The identifier presented to the SSH-2 server.
ignoreNextObject() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.AES
initialise an AES cipher.
init(boolean, byte[]) - Method in interface com.trilead.ssh2.crypto.cipher.BlockCipher
 
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.BlowFish
initialise a Blowfish cipher.
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.CBCMode
 
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.CTRMode
 
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DES
initialise a DES cipher.
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DESede
initialise a DES cipher.
init(boolean, byte[]) - Method in class com.trilead.ssh2.crypto.cipher.NullCipher
 
init(int, SecureRandom) - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
init(SecureRandom) - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
initial_iv_client_to_server - Variable in class com.trilead.ssh2.crypto.KeyMaterial
 
initial_iv_server_to_client - Variable in class com.trilead.ssh2.crypto.KeyMaterial
 
initialize(CryptoWishList, ServerHostKeyVerifier, DHGexParameters, int, int, SecureRandom, ProxyData) - Method in class com.trilead.ssh2.transport.TransportManager
 
initialize(CryptoWishList, ServerHostKeyVerifier, DHGexParameters, int, SecureRandom, ProxyData) - Method in class com.trilead.ssh2.transport.TransportManager
 
initialWindowSize - Variable in class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
initiateKEX(CryptoWishList, DHGexParameters) - Method in class com.trilead.ssh2.transport.KexManager
 
initMac(int) - Method in class com.trilead.ssh2.crypto.digest.MAC
 
integrity_key_client_to_server - Variable in class com.trilead.ssh2.crypto.KeyMaterial
 
integrity_key_server_to_client - Variable in class com.trilead.ssh2.crypto.KeyMaterial
 
InteractiveCallback - Interface in com.trilead.ssh2
An InteractiveCallback is used to respond to challenges sent by the server if authentication mode "keyboard-interactive" is selected.
IOWarningException - Exception in com.trilead.ssh2
 
IOWarningException(String) - Constructor for exception com.trilead.ssh2.IOWarningException
 
isAuthenticationComplete() - Method in class com.trilead.ssh2.Connection
Determines if the authentication phase is complete.
isAuthenticationPartialSuccess() - Method in class com.trilead.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.
isAuthMethodAvailable(String, String) - Method in class com.trilead.ssh2.Connection
Checks if a specified authentication method is available.
isClosed() - Method in class com.trilead.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 com.trilead.ssh2.SFTPv3FileAttributes
Checks if this entry is a directory.
isEnabled() - Method in class com.trilead.ssh2.log.Logger
 
isFirst_kex_packet_follows() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
isPartialSuccess() - Method in class com.trilead.ssh2.packets.PacketUserauthFailure
 
isPEMEncrypted(PEMStructure) - Static method in class com.trilead.ssh2.crypto.PEMDecoder
 
isRegularFile() - Method in class com.trilead.ssh2.SFTPv3FileAttributes
Checks if this entry is a regular file.
isSymlink() - Method in class com.trilead.ssh2.SFTPv3FileAttributes
Checks if this entry is a a symlink.

K

K - Variable in class com.trilead.ssh2.transport.KexState
 
kex_algo - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
kex_algorithms - Variable in class com.trilead.ssh2.transport.KexParameters
 
kexAlgorithms - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
kexFinished() - Method in class com.trilead.ssh2.transport.TransportManager
 
KexManager - Class in com.trilead.ssh2.transport
KexManager.
KexManager(TransportManager, ClientServerHello, CryptoWishList, String, int, ServerHostKeyVerifier, SecureRandom) - Constructor for class com.trilead.ssh2.transport.KexManager
 
KexParameters - Class in com.trilead.ssh2.transport
KexParameters.
KexParameters() - Constructor for class com.trilead.ssh2.transport.KexParameters
 
KexState - Class in com.trilead.ssh2.transport
KexState.
KexState() - Constructor for class com.trilead.ssh2.transport.KexState
 
keyExchangeAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The used key exchange (KEX) algorithm in the latest key exchange.
keyExchangeCounter - Variable in class com.trilead.ssh2.ConnectionInfo
Number of kex exchanges performed on this connection so far.
KeyMaterial - Class in com.trilead.ssh2.crypto
Establishes key material for iv/key/mac (both directions).
KeyMaterial() - Constructor for class com.trilead.ssh2.crypto.KeyMaterial
 
KnownHosts - Class in com.trilead.ssh2
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 com.trilead.ssh2.KnownHosts
 
KnownHosts(char[]) - Constructor for class com.trilead.ssh2.KnownHosts
 
KnownHosts(File) - Constructor for class com.trilead.ssh2.KnownHosts
 

L

lang_client_to_server - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
lang_server_to_client - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
languages_client_to_server - Variable in class com.trilead.ssh2.transport.KexParameters
 
languages_server_to_client - Variable in class com.trilead.ssh2.transport.KexParameters
 
languageTag - Variable in class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
length() - Method in class com.trilead.ssh2.packets.TypesWriter
 
LocalAcceptThread - Class in com.trilead.ssh2.channel
LocalAcceptThread.
LocalAcceptThread(ChannelManager, int, String, int) - Constructor for class com.trilead.ssh2.channel.LocalAcceptThread
 
LocalAcceptThread(ChannelManager, InetSocketAddress, String, int) - Constructor for class com.trilead.ssh2.channel.LocalAcceptThread
 
localKEX - Variable in class com.trilead.ssh2.transport.KexState
 
LocalPortForwarder - Class in com.trilead.ssh2
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 in com.trilead.ssh2
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).
log(int, String) - Method in class com.trilead.ssh2.log.Logger
 
log(int, String, String) - Method in interface com.trilead.ssh2.DebugLogger
Log a debug message.
logger - Static variable in class com.trilead.ssh2.log.Logger
 
Logger - Class in com.trilead.ssh2.log
Logger - a very simple logger, mainly used during development.
Logger(Class) - Constructor for class com.trilead.ssh2.log.Logger
 
longEntry - Variable in class com.trilead.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 com.trilead.ssh2.SFTPv3Client
List the contents of a directory.
lstat(String) - Method in class com.trilead.ssh2.SFTPv3Client
Retrieve the file attributes of a file.

M

MAC - Class in com.trilead.ssh2.crypto.digest
MAC.
MAC(String, byte[]) - Constructor for class com.trilead.ssh2.crypto.digest.MAC
 
mac_algo_client_to_server - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
mac_algo_server_to_client - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
mac_algorithms_client_to_server - Variable in class com.trilead.ssh2.transport.KexParameters
 
mac_algorithms_server_to_client - Variable in class com.trilead.ssh2.transport.KexParameters
 
main(String[]) - Static method in class com.trilead.ssh2.crypto.digest.SHA1
 
maxPacketSize - Variable in class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
MD5 - Class in com.trilead.ssh2.crypto.digest
MD5.
MD5() - Constructor for class com.trilead.ssh2.crypto.digest.MD5
 
MessageHandler - Interface in com.trilead.ssh2.transport
MessageHandler.
mkdir(String, int) - Method in class com.trilead.ssh2.SFTPv3Client
Create a new directory.
msgChannelClose(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelData(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelEOF(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelExtendedData(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelFailure(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelOpen(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelOpenConfirmation(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelOpenFailure(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelRequest(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelSuccess(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgChannelWindowAdjust(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgGlobalFailure() - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgGlobalRequest(byte[], int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
msgGlobalSuccess() - Method in class com.trilead.ssh2.channel.ChannelManager
 
mtime - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The MTIME attribute.
mv(String, String) - Method in class com.trilead.ssh2.SFTPv3Client
Move a file or directory.

N

NegotiatedParameters - Class in com.trilead.ssh2.transport
NegotiatedParameters.
NegotiatedParameters() - Constructor for class com.trilead.ssh2.transport.NegotiatedParameters
 
NegotiateException - Exception in com.trilead.ssh2.transport
NegotiateException.
NegotiateException() - Constructor for exception com.trilead.ssh2.transport.NegotiateException
 
np - Variable in class com.trilead.ssh2.transport.KexState
 
NullCipher - Class in com.trilead.ssh2.crypto.cipher
NullCipher.
NullCipher() - Constructor for class com.trilead.ssh2.crypto.cipher.NullCipher
 
NullCipher(int) - Constructor for class com.trilead.ssh2.crypto.cipher.NullCipher
 

O

openDirectTCPIPChannel(String, int, String, int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
openFileRO(String) - Method in class com.trilead.ssh2.SFTPv3Client
Open a file for reading.
openFileRW(String) - Method in class com.trilead.ssh2.SFTPv3Client
Open a file for reading and writing.
OpenFlags - Class in com.trilead.ssh2.sftp
SFTP Open Flags.
OpenFlags() - Constructor for class com.trilead.ssh2.sftp.OpenFlags
 
openSession() - Method in class com.trilead.ssh2.Connection
Open a new Session on this connection.
openSessionChannel() - Method in class com.trilead.ssh2.channel.ChannelManager
 

P

Packet - Class in com.trilead.ssh2.sftp
SFTP Paket Types
Packet() - Constructor for class com.trilead.ssh2.sftp.Packet
 
PacketChannelOpenConfirmation - Class in com.trilead.ssh2.packets
PacketChannelOpenConfirmation.
PacketChannelOpenConfirmation(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
PacketChannelOpenConfirmation(int, int, int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
PacketChannelOpenFailure - Class in com.trilead.ssh2.packets
PacketChannelOpenFailure.
PacketChannelOpenFailure(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
PacketChannelOpenFailure(int, int, String, String) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
PacketChannelTrileadPing - Class in com.trilead.ssh2.packets
PacketChannelTrileadPing.
PacketChannelTrileadPing(int) - Constructor for class com.trilead.ssh2.packets.PacketChannelTrileadPing
 
PacketChannelWindowAdjust - Class in com.trilead.ssh2.packets
PacketChannelWindowAdjust.
PacketChannelWindowAdjust(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
PacketChannelWindowAdjust(int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
PacketDisconnect - Class in com.trilead.ssh2.packets
PacketDisconnect.
PacketDisconnect(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketDisconnect
 
PacketDisconnect(int, String, String) - Constructor for class com.trilead.ssh2.packets.PacketDisconnect
 
PacketGlobalCancelForwardRequest - Class in com.trilead.ssh2.packets
PacketGlobalCancelForwardRequest.
PacketGlobalCancelForwardRequest(boolean, String, int) - Constructor for class com.trilead.ssh2.packets.PacketGlobalCancelForwardRequest
 
PacketGlobalForwardRequest - Class in com.trilead.ssh2.packets
PacketGlobalForwardRequest.
PacketGlobalForwardRequest(boolean, String, int) - Constructor for class com.trilead.ssh2.packets.PacketGlobalForwardRequest
 
PacketGlobalTrileadPing - Class in com.trilead.ssh2.packets
PacketGlobalTrileadPing.
PacketGlobalTrileadPing() - Constructor for class com.trilead.ssh2.packets.PacketGlobalTrileadPing
 
PacketIgnore - Class in com.trilead.ssh2.packets
PacketIgnore.
PacketIgnore() - Constructor for class com.trilead.ssh2.packets.PacketIgnore
 
PacketIgnore(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketIgnore
 
PacketKexDhGexGroup - Class in com.trilead.ssh2.packets
PacketKexDhGexGroup.
PacketKexDhGexGroup(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketKexDhGexGroup
 
PacketKexDhGexInit - Class in com.trilead.ssh2.packets
PacketKexDhGexInit.
PacketKexDhGexInit(BigInteger) - Constructor for class com.trilead.ssh2.packets.PacketKexDhGexInit
 
PacketKexDhGexReply - Class in com.trilead.ssh2.packets
PacketKexDhGexReply.
PacketKexDhGexReply(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketKexDhGexReply
 
PacketKexDhGexRequest - Class in com.trilead.ssh2.packets
PacketKexDhGexRequest.
PacketKexDhGexRequest(DHGexParameters) - Constructor for class com.trilead.ssh2.packets.PacketKexDhGexRequest
 
PacketKexDhGexRequestOld - Class in com.trilead.ssh2.packets
PacketKexDhGexRequestOld.
PacketKexDhGexRequestOld(DHGexParameters) - Constructor for class com.trilead.ssh2.packets.PacketKexDhGexRequestOld
 
PacketKexDHInit - Class in com.trilead.ssh2.packets
PacketKexDHInit.
PacketKexDHInit(BigInteger) - Constructor for class com.trilead.ssh2.packets.PacketKexDHInit
 
PacketKexDHReply - Class in com.trilead.ssh2.packets
PacketKexDHReply.
PacketKexDHReply(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketKexDHReply
 
PacketKexInit - Class in com.trilead.ssh2.packets
PacketKexInit.
PacketKexInit(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketKexInit
 
PacketKexInit(CryptoWishList, SecureRandom) - Constructor for class com.trilead.ssh2.packets.PacketKexInit
 
PacketNewKeys - Class in com.trilead.ssh2.packets
PacketNewKeys.
PacketNewKeys() - Constructor for class com.trilead.ssh2.packets.PacketNewKeys
 
PacketNewKeys(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketNewKeys
 
PacketOpenDirectTCPIPChannel - Class in com.trilead.ssh2.packets
PacketOpenDirectTCPIPChannel.
PacketOpenDirectTCPIPChannel(int, int, int, String, int, String, int) - Constructor for class com.trilead.ssh2.packets.PacketOpenDirectTCPIPChannel
 
PacketOpenSessionChannel - Class in com.trilead.ssh2.packets
PacketOpenSessionChannel.
PacketOpenSessionChannel(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketOpenSessionChannel
 
PacketOpenSessionChannel(int, int, int) - Constructor for class com.trilead.ssh2.packets.PacketOpenSessionChannel
 
Packets - Class in com.trilead.ssh2.packets
Packets.
Packets() - Constructor for class com.trilead.ssh2.packets.Packets
 
PacketServiceAccept - Class in com.trilead.ssh2.packets
PacketServiceAccept.
PacketServiceAccept(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketServiceAccept
 
PacketServiceAccept(String) - Constructor for class com.trilead.ssh2.packets.PacketServiceAccept
 
PacketServiceRequest - Class in com.trilead.ssh2.packets
PacketServiceRequest.
PacketServiceRequest(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketServiceRequest
 
PacketServiceRequest(String) - Constructor for class com.trilead.ssh2.packets.PacketServiceRequest
 
PacketSessionExecCommand - Class in com.trilead.ssh2.packets
PacketSessionExecCommand.
PacketSessionExecCommand(int, boolean, String) - Constructor for class com.trilead.ssh2.packets.PacketSessionExecCommand
 
PacketSessionPtyRequest - Class in com.trilead.ssh2.packets
PacketSessionPtyRequest.
PacketSessionPtyRequest(int, boolean, String, int, int, int, int, byte[]) - Constructor for class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
PacketSessionStartShell - Class in com.trilead.ssh2.packets
PacketSessionStartShell.
PacketSessionStartShell(int, boolean) - Constructor for class com.trilead.ssh2.packets.PacketSessionStartShell
 
PacketSessionSubsystemRequest - Class in com.trilead.ssh2.packets
PacketSessionSubsystemRequest.
PacketSessionSubsystemRequest(int, boolean, String) - Constructor for class com.trilead.ssh2.packets.PacketSessionSubsystemRequest
 
PacketSessionX11Request - Class in com.trilead.ssh2.packets
PacketSessionX11Request.
PacketSessionX11Request(int, boolean, boolean, String, String, int) - Constructor for class com.trilead.ssh2.packets.PacketSessionX11Request
 
PacketUserauthBanner - Class in com.trilead.ssh2.packets
PacketUserauthBanner.
PacketUserauthBanner(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthBanner
 
PacketUserauthBanner(String, String) - Constructor for class com.trilead.ssh2.packets.PacketUserauthBanner
 
PacketUserauthFailure - Class in com.trilead.ssh2.packets
PacketUserauthBanner.
PacketUserauthFailure(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthFailure
 
PacketUserauthFailure(String[], boolean) - Constructor for class com.trilead.ssh2.packets.PacketUserauthFailure
 
PacketUserauthInfoRequest - Class in com.trilead.ssh2.packets
PacketUserauthInfoRequest.
PacketUserauthInfoRequest(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
PacketUserauthInfoResponse - Class in com.trilead.ssh2.packets
PacketUserauthInfoResponse.
PacketUserauthInfoResponse(String[]) - Constructor for class com.trilead.ssh2.packets.PacketUserauthInfoResponse
 
PacketUserauthRequestInteractive - Class in com.trilead.ssh2.packets
PacketUserauthRequestInteractive.
PacketUserauthRequestInteractive(String, String, String[]) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestInteractive
 
PacketUserauthRequestNone - Class in com.trilead.ssh2.packets
PacketUserauthRequestPassword.
PacketUserauthRequestNone(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestNone
 
PacketUserauthRequestNone(String, String) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestNone
 
PacketUserauthRequestPassword - Class in com.trilead.ssh2.packets
PacketUserauthRequestPassword.
PacketUserauthRequestPassword(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPassword
 
PacketUserauthRequestPassword(String, String, String) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPassword
 
PacketUserauthRequestPublicKey - Class in com.trilead.ssh2.packets
PacketUserauthRequestPublicKey.
PacketUserauthRequestPublicKey(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPublicKey
 
PacketUserauthRequestPublicKey(String, String, String, byte[], byte[]) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPublicKey
 
parseTokens(String, char) - Static method in class com.trilead.ssh2.util.Tokenizer
Exists because StringTokenizer is not available in J2ME.
peekNextMessageLength() - Method in class com.trilead.ssh2.transport.TransportConnection
 
PEMDecoder - Class in com.trilead.ssh2.crypto
PEM Support.
PEMDecoder() - Constructor for class com.trilead.ssh2.crypto.PEMDecoder
 
PEMStructure - Class in com.trilead.ssh2.crypto
Parsed PEM structure.
PEMStructure() - Constructor for class com.trilead.ssh2.crypto.PEMStructure
 
permissions - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The POSIX permissions.
ping() - Method in class com.trilead.ssh2.Connection
This method can be used to perform end-to-end connection testing.
ping() - Method in class com.trilead.ssh2.Session
This method can be used to perform end-to-end session (i.e., SSH channel) testing.
pixel_height - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
pixel_width - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
port - Variable in class com.trilead.ssh2.channel.X11ServerData
 
processBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.AES
 
ProxyData - Interface in com.trilead.ssh2
An abstract marker interface implemented by all proxy data implementations.
proxyHost - Variable in class com.trilead.ssh2.HTTPProxyData
 
proxyPass - Variable in class com.trilead.ssh2.HTTPProxyData
 
proxyPort - Variable in class com.trilead.ssh2.HTTPProxyData
 
proxyUser - Variable in class com.trilead.ssh2.HTTPProxyData
 
put(byte[], String, String) - Method in class com.trilead.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 com.trilead.ssh2.SCPClient
Create a remote file and copy the contents of the passed byte array into it.
put(String[], String) - Method in class com.trilead.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, String) - Method in class com.trilead.ssh2.SCPClient
 
put(String[], String, String) - Method in class com.trilead.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) - Method in class com.trilead.ssh2.SCPClient
Copy a local file to a remote directory, uses mode 0600 when creating the file on the remote side.
put(String, String, String) - Method in class com.trilead.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 com.trilead.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.

R

read() - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
read() - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
read() - Method in class com.trilead.ssh2.StreamGobbler
 
read(byte[]) - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
read(byte[]) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
read(byte[]) - Method in class com.trilead.ssh2.StreamGobbler
 
read(byte[], int, int) - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
read(byte[], int, int) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
read(byte[], int, int) - Method in class com.trilead.ssh2.StreamGobbler
 
read(SFTPv3FileHandle, long, byte[], int, int) - Method in class com.trilead.ssh2.SFTPv3Client
Read bytes from a file.
readBoolean() - Method in class com.trilead.ssh2.packets.TypesReader
 
readByte() - Method in class com.trilead.ssh2.packets.TypesReader
 
readBytes(byte[], int, int) - Method in class com.trilead.ssh2.packets.TypesReader
 
readBytes(int) - Method in class com.trilead.ssh2.packets.TypesReader
 
readByteString() - Method in class com.trilead.ssh2.packets.TypesReader
 
readInt() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
readLineRN(InputStream, byte[]) - Static method in class com.trilead.ssh2.transport.ClientServerHello
 
readLink(String) - Method in class com.trilead.ssh2.SFTPv3Client
Read the target of a symbolic link.
readMPINT() - Method in class com.trilead.ssh2.packets.TypesReader
 
readNameList() - Method in class com.trilead.ssh2.packets.TypesReader
 
readOctetString() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
readPlain(byte[], int, int) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
readSequenceAsByteArray() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
readString() - Method in class com.trilead.ssh2.packets.TypesReader
 
readString(String) - Method in class com.trilead.ssh2.packets.TypesReader
 
readUINT32() - Method in class com.trilead.ssh2.packets.TypesReader
 
readUINT64() - Method in class com.trilead.ssh2.packets.TypesReader
 
reasonCode - Variable in class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
receiveLoop() - Method in class com.trilead.ssh2.transport.TransportManager
 
receiveMessage(byte[], int, int) - Method in class com.trilead.ssh2.transport.TransportConnection
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketChannelTrileadPing
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketSessionExecCommand
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketSessionStartShell
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketSessionSubsystemRequest
 
recipientChannelID - Variable in class com.trilead.ssh2.packets.PacketSessionX11Request
 
registerMessageHandler(MessageHandler, int, int) - Method in class com.trilead.ssh2.transport.TransportManager
 
registerThread(IChannelWorkerThread) - Method in class com.trilead.ssh2.channel.ChannelManager
 
registerX11Cookie(String, X11ServerData) - Method in class com.trilead.ssh2.channel.ChannelManager
 
remain() - Method in class com.trilead.ssh2.packets.TypesReader
 
RemoteAcceptThread - Class in com.trilead.ssh2.channel
RemoteAcceptThread.
RemoteAcceptThread(Channel, String, int, String, int, String, int) - Constructor for class com.trilead.ssh2.channel.RemoteAcceptThread
 
RemoteForwardingData - Class in com.trilead.ssh2.channel
RemoteForwardingData.
RemoteForwardingData() - Constructor for class com.trilead.ssh2.channel.RemoteForwardingData
 
remoteKEX - Variable in class com.trilead.ssh2.transport.KexState
 
RemoteX11AcceptThread - Class in com.trilead.ssh2.channel
RemoteX11AcceptThread.
RemoteX11AcceptThread(Channel, String, int) - Constructor for class com.trilead.ssh2.channel.RemoteX11AcceptThread
 
removeMessageHandler(MessageHandler, int, int) - Method in class com.trilead.ssh2.transport.TransportManager
 
replyToChallenge(String, String, int, String[], boolean[]) - Method in interface com.trilead.ssh2.InteractiveCallback
This callback interface is used during a "keyboard-interactive" authentication.
requestCancelGlobalForward(int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestChannelTrileadPing(Channel) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestDumbPTY() - Method in class com.trilead.ssh2.Session
Basically just a wrapper for lazy people - identical to calling requestPTY("dumb", 0, 0, 0, 0, null).
requestExecCommand(Channel, String) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestGlobalForward(String, int, String, int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestGlobalTrileadPing() - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestHeaderLines - Variable in class com.trilead.ssh2.HTTPProxyData
 
requestPTY(Channel, String, int, int, int, int, byte[]) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestPTY(String) - Method in class com.trilead.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 com.trilead.ssh2.Session
Allocate a pseudo-terminal for this session.
requestRemotePortForwarding(String, int, String, int) - Method in class com.trilead.ssh2.Connection
Request a remote port forwarding.
requestShell(Channel) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestSubSystem(Channel, String) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestX11(Channel, boolean, String, String, int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestX11Forwarding(String, int, byte[], boolean) - Method in class com.trilead.ssh2.Session
Request X11 forwarding for the current session.
reserved_field1 - Variable in class com.trilead.ssh2.transport.KexParameters
 
reset() - Method in class com.trilead.ssh2.crypto.cipher.AES
 
reset() - Method in class com.trilead.ssh2.crypto.cipher.BlowFish
 
reset() - Method in class com.trilead.ssh2.crypto.cipher.DES
 
reset() - Method in class com.trilead.ssh2.crypto.cipher.DESede
 
reset() - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
reset() - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
reset() - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
reset() - Method in class com.trilead.ssh2.crypto.digest.MD5
 
reset() - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
resetInput(byte[]) - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
resetInput(byte[], int, int) - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
rm(String) - Method in class com.trilead.ssh2.SFTPv3Client
Remove a file.
rmdir(String) - Method in class com.trilead.ssh2.SFTPv3Client
Remove an empty directory.
RSAPrivateKey - Class in com.trilead.ssh2.signature
RSAPrivateKey.
RSAPrivateKey(BigInteger, BigInteger, BigInteger) - Constructor for class com.trilead.ssh2.signature.RSAPrivateKey
 
RSAPublicKey - Class in com.trilead.ssh2.signature
RSAPublicKey.
RSAPublicKey(BigInteger, BigInteger) - Constructor for class com.trilead.ssh2.signature.RSAPublicKey
 
RSASHA1Verify - Class in com.trilead.ssh2.signature
RSASHA1Verify.
RSASHA1Verify() - Constructor for class com.trilead.ssh2.signature.RSASHA1Verify
 
RSASignature - Class in com.trilead.ssh2.signature
RSASignature.
RSASignature(BigInteger) - Constructor for class com.trilead.ssh2.signature.RSASignature
 
run() - Method in class com.trilead.ssh2.channel.LocalAcceptThread
 
run() - Method in class com.trilead.ssh2.channel.RemoteAcceptThread
 
run() - Method in class com.trilead.ssh2.channel.RemoteX11AcceptThread
 
run() - Method in class com.trilead.ssh2.channel.StreamForwarder
 

S

S_IRGRP - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IROTH - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IRUSR - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_ISGID - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_ISUID - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_ISVTX - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IWGRP - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IWOTH - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IWUSR - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IXGRP - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IXOTH - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
S_IXUSR - Static variable in class com.trilead.ssh2.sftp.AttribPermissions
 
s2c_enc_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
s2c_mac_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
SCPClient - Class in com.trilead.ssh2
A very basic SCPClient that can be used to copy files from/to the SSH-2 server.
SCPClient(Connection) - Constructor for class com.trilead.ssh2.SCPClient
 
sendAsynchronousMessage(byte[]) - Method in class com.trilead.ssh2.transport.TransportManager
 
sendData(Channel, byte[], int, int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
sendEOF(Channel) - Method in class com.trilead.ssh2.channel.ChannelManager
 
senderChannelID - Variable in class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
sendIgnorePacket() - Method in class com.trilead.ssh2.Connection
Send an SSH_MSG_IGNORE packet.
sendIgnorePacket(byte[]) - Method in class com.trilead.ssh2.Connection
Send an SSH_MSG_IGNORE packet with the given data attribute.
sendKexMessage(byte[]) - Method in class com.trilead.ssh2.transport.TransportManager
 
sendMessage(byte[]) - Method in class com.trilead.ssh2.transport.TransportConnection
 
sendMessage(byte[]) - Method in class com.trilead.ssh2.transport.TransportManager
 
sendMessage(byte[], int, int) - Method in class com.trilead.ssh2.transport.TransportConnection
 
sendMessage(byte[], int, int, int) - Method in class com.trilead.ssh2.transport.TransportConnection
 
sendOpenConfirmation(Channel) - Method in class com.trilead.ssh2.channel.ChannelManager
 
server_host_key_algo - Variable in class com.trilead.ssh2.transport.NegotiatedParameters
 
server_host_key_algorithms - Variable in class com.trilead.ssh2.transport.KexParameters
 
serverHostKey - Variable in class com.trilead.ssh2.ConnectionInfo
The server host key that was sent during the latest key exchange.
serverHostKeyAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The type of the server host key (currently either "ssh-dss" or "ssh-rsa").
serverHostKeyAlgorithms - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
ServerHostKeyVerifier - Interface in com.trilead.ssh2
A callback interface used to implement a client specific method of checking server host keys.
serverToClientCryptoAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The currently used crypto algorithm for packets from to the server to the client.
serverToClientMACAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The currently used MAC algorithm for packets from to the server to the client.
Session - Class in com.trilead.ssh2
A Session is a remote execution of a program.
setCharset(String) - Method in class com.trilead.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 com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
setClient2ServerMACs(String[]) - Method in class com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
setConnectionMonitors(Vector) - Method in class com.trilead.ssh2.transport.TransportManager
 
setData(byte[]) - Method in class com.trilead.ssh2.packets.PacketIgnore
 
setDHGexParameters(DHGexParameters) - Method in class com.trilead.ssh2.Connection
Sets the parameters for the diffie-hellman group exchange.
setF(BigInteger) - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
setF(BigInteger) - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
Sets f and calculates the shared secret.
setProxyData(ProxyData) - Method in class com.trilead.ssh2.Connection
Used to tell the library that the connection shall be established through a proxy server.
setReasonClosed(String) - Method in class com.trilead.ssh2.channel.Channel
 
setSecureRandom(SecureRandom) - Method in class com.trilead.ssh2.Connection
Provide your own instance of SecureRandom.
setServer2ClientCiphers(String[]) - Method in class com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
setServer2ClientMACs(String[]) - Method in class com.trilead.ssh2.Connection
Unless you know what you are doing, you will never need this.
setServerHostKeyAlgorithms(String[]) - Method in class com.trilead.ssh2.Connection
Define the set of allowed server host key algorithms to be used for the following key exchange operations.
setSoTimeout(int) - Method in class com.trilead.ssh2.transport.TransportManager
 
setstat(String, SFTPv3FileAttributes) - Method in class com.trilead.ssh2.SFTPv3Client
Modify the attributes of a file.
setTcpNoDelay(boolean) - Method in class com.trilead.ssh2.transport.TransportManager
 
setTCPNoDelay(boolean) - Method in class com.trilead.ssh2.Connection
Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm) on the underlying socket.
SFTPException - Exception in com.trilead.ssh2
Used in combination with the SFTPv3Client.
SFTPv3Client - Class in com.trilead.ssh2
A SFTPv3Client represents a SFTP (protocol version 3) client connection tunnelled over a SSH-2 connection.
SFTPv3Client(Connection) - Constructor for class com.trilead.ssh2.SFTPv3Client
Create a SFTP v3 client.
SFTPv3Client(Connection, PrintStream) - Constructor for class com.trilead.ssh2.SFTPv3Client
Deprecated.
this constructor (debug version) will disappear in the future, use SFTPv3Client(Connection) instead.
SFTPv3DirectoryEntry - Class in com.trilead.ssh2
A SFTPv3DirectoryEntry as returned by SFTPv3Client.ls(String).
SFTPv3DirectoryEntry() - Constructor for class com.trilead.ssh2.SFTPv3DirectoryEntry
 
SFTPv3FileAttributes - Class in com.trilead.ssh2
A SFTPv3FileAttributes object represents detail information about a file on the server.
SFTPv3FileAttributes() - Constructor for class com.trilead.ssh2.SFTPv3FileAttributes
 
SFTPv3FileHandle - Class in com.trilead.ssh2
A SFTPv3FileHandle.
SHA1 - Class in com.trilead.ssh2.crypto.digest
SHA-1 implementation based on FIPS PUB 180-1.
SHA1() - Constructor for class com.trilead.ssh2.crypto.digest.SHA1
 
sign(byte[]) - Method in interface com.trilead.ssh2.auth.AgentIdentity
 
SimpleDERReader - Class in com.trilead.ssh2.crypto
SimpleDERReader.
SimpleDERReader(byte[]) - Constructor for class com.trilead.ssh2.crypto.SimpleDERReader
 
SimpleDERReader(byte[], int, int) - Constructor for class com.trilead.ssh2.crypto.SimpleDERReader
 
singleConnection - Variable in class com.trilead.ssh2.packets.PacketSessionX11Request
 
size - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The SIZE attribute.
size() - Method in class com.trilead.ssh2.crypto.digest.MAC
 
SSH_DISCONNECT_AUTH_CANCELLED_BY_USER - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_BY_APPLICATION - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_COMPRESSION_ERROR - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_CONNECTION_LOST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_ILLEGAL_USER_NAME - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_KEY_EXCHANGE_FAILED - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_MAC_ERROR - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_PROTOCOL_ERROR - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_RESERVED - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_SERVICE_NOT_AVAILABLE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_DISCONNECT_TOO_MANY_CONNECTIONS - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_EXTENDED_DATA_STDERR - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_FILEXFER_ATTR_ACCESSTIME - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'atime' field is present.
SSH_FILEXFER_ATTR_ACL - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'acl' field is present.
SSH_FILEXFER_ATTR_ALLOCATION_SIZE - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'allocation-size' field is present.
SSH_FILEXFER_ATTR_BITS - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'attrib-bits' and 'attrib-bits-valid' fields are present.
SSH_FILEXFER_ATTR_CREATETIME - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'createtime' field is present.
SSH_FILEXFER_ATTR_CTIME - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'ctime' field is present.
SSH_FILEXFER_ATTR_EXTENDED - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'extended-count' field (and probablby some 'extensions') is present.
SSH_FILEXFER_ATTR_FLAGS_APPEND_ONLY - Static variable in class com.trilead.ssh2.sftp.AttribBits
Opening the file without either the SSH_FXF_ACCESS_APPEND_DATA or the SSH_FXF_ACCESS_APPEND_DATA_ATOMIC flag (see section 8.1.1.3 of the SFTP standard draft) MUST result in an SSH_FX_INVALID_PARAMETER error.
SSH_FILEXFER_ATTR_FLAGS_ARCHIVE - Static variable in class com.trilead.ssh2.sftp.AttribBits
The file should be included in backup / archive operations.
SSH_FILEXFER_ATTR_FLAGS_CASE_INSENSITIVE - Static variable in class com.trilead.ssh2.sftp.AttribBits
This attribute applies only to directories.
SSH_FILEXFER_ATTR_FLAGS_COMPRESSED - Static variable in class com.trilead.ssh2.sftp.AttribBits
The file is stored on disk using file-system level transparent compression.
SSH_FILEXFER_ATTR_FLAGS_ENCRYPTED - Static variable in class com.trilead.ssh2.sftp.AttribBits
The file is stored on disk using file-system level transparent encryption.
SSH_FILEXFER_ATTR_FLAGS_HIDDEN - Static variable in class com.trilead.ssh2.sftp.AttribBits
File SHOULD NOT be shown to user unless specifically requested.
SSH_FILEXFER_ATTR_FLAGS_IMMUTABLE - Static variable in class com.trilead.ssh2.sftp.AttribBits
The file cannot be deleted or renamed, no hard link can be created to this file, and no data can be written to the file.
SSH_FILEXFER_ATTR_FLAGS_READONLY - Static variable in class com.trilead.ssh2.sftp.AttribBits
Advisory, read-only bit.
SSH_FILEXFER_ATTR_FLAGS_SPARSE - Static variable in class com.trilead.ssh2.sftp.AttribBits
The file is a sparse file; this means that file blocks that have not been explicitly written are not stored on disk.
SSH_FILEXFER_ATTR_FLAGS_SYNC - Static variable in class com.trilead.ssh2.sftp.AttribBits
When the file is modified, the changes are written synchronously to the disk.
SSH_FILEXFER_ATTR_FLAGS_SYSTEM - Static variable in class com.trilead.ssh2.sftp.AttribBits
The file is part of the operating system.
SSH_FILEXFER_ATTR_FLAGS_TRANSLATION_ERR - Static variable in class com.trilead.ssh2.sftp.AttribBits
The server MAY include this bit in a directory listing or realpath response.
SSH_FILEXFER_ATTR_GUESSED_BINARY - Static variable in class com.trilead.ssh2.sftp.AttrTextHints
The server has applied a heuristic or other mechanism and believes has binary content, and should not be opened with the SSH_FXF_ACCESS_TEXT_MODE flag.
SSH_FILEXFER_ATTR_GUESSED_TEXT - Static variable in class com.trilead.ssh2.sftp.AttrTextHints
The server has applied a heuristic or other mechanism and believes that the file should be opened with the SSH_FXF_ACCESS_TEXT_MODE flag.
SSH_FILEXFER_ATTR_KNOWN_BINARY - Static variable in class com.trilead.ssh2.sftp.AttrTextHints
The server knows the file has binary content.
SSH_FILEXFER_ATTR_KNOWN_TEXT - Static variable in class com.trilead.ssh2.sftp.AttrTextHints
The server knows the file is a text file, and should be opened using the SSH_FXF_ACCESS_TEXT_MODE flag.
SSH_FILEXFER_ATTR_LINK_COUNT - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'link-count' field is present.
SSH_FILEXFER_ATTR_MIME_TYPE - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'mime-type' field is present.
SSH_FILEXFER_ATTR_MODIFYTIME - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'mtime' field is present.
SSH_FILEXFER_ATTR_OWNERGROUP - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'owner' and 'group' fields are present.
SSH_FILEXFER_ATTR_PERMISSIONS - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'permissions' field is present.
SSH_FILEXFER_ATTR_SIZE - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'allocation-size' field is present.
SSH_FILEXFER_ATTR_SUBSECOND_TIMES - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that additionally to the 'atime', 'createtime', 'mtime' and 'ctime' fields (if present), there is also 'atime-nseconds', 'createtime-nseconds', 'mtime-nseconds' and 'ctime-nseconds'.
SSH_FILEXFER_ATTR_TEXT_HINT - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'text-hint' field is present.
SSH_FILEXFER_ATTR_UNTRANSLATED_NAME - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'untranslated-name' field is present.
SSH_FILEXFER_ATTR_V3_ACMODTIME - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Indicates that the 'atime' and 'mtime' field are present (protocol v3).
SSH_FILEXFER_ATTR_V3_UIDGID - Static variable in class com.trilead.ssh2.sftp.AttribFlags
Protocol version 6: 0x00000002 was used in a previous version of this protocol.
SSH_FILEXFER_TYPE_BLOCK_DEVICE - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_CHAR_DEVICE - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_DIRECTORY - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_FIFO - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_REGULAR - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_SOCKET - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_SPECIAL - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_SYMLINK - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FILEXFER_TYPE_UNKNOWN - Static variable in class com.trilead.ssh2.sftp.AttribTypes
 
SSH_FX_BAD_MESSAGE - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_BYTE_RANGE_LOCK_CONFLICT - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_BYTE_RANGE_LOCK_REFUSED - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_CANNOT_DELETE - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_CONNECTION_LOST - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_DELETE_PENDING - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_DIR_NOT_EMPTY - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_EOF - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_FAILURE - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_FILE_ALREADY_EXISTS - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_FILE_CORRUPT - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_FILE_IS_A_DIRECTORY - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_GROUP_INVALID - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_INVALID_FILENAME - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_INVALID_HANDLE - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_INVALID_PARAMETER - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_LINK_LOOP - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_LOCK_CONFLICT - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NO_CONNECTION - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NO_MEDIA - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NO_SPACE_ON_FILESYSTEM - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NO_SUCH_FILE - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NO_SUCH_PATH - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_NOT_A_DIRECTORY - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_OK - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_OP_UNSUPPORTED - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_OWNER_INVALID - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_PERMISSION_DENIED - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_QUOTA_EXCEEDED - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_UNKNOWN_PRINCIPAL - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FX_WRITE_PROTECT - Static variable in class com.trilead.ssh2.sftp.ErrorCodes
 
SSH_FXF_ACCESS_APPEND_DATA - Static variable in class com.trilead.ssh2.sftp.OpenFlags
Data is always written at the end of the file.
SSH_FXF_ACCESS_APPEND_DATA_ATOMIC - Static variable in class com.trilead.ssh2.sftp.OpenFlags
Data is always written at the end of the file.
SSH_FXF_ACCESS_BLOCK_ADVISORY - Static variable in class com.trilead.ssh2.sftp.OpenFlags
If this bit is set, the above BLOCK modes are advisory.
SSH_FXF_ACCESS_BLOCK_DELETE - Static variable in class com.trilead.ssh2.sftp.OpenFlags
The server MUST guarantee that no other handle has been opened with ACE4_DELETE access, opened with the SSH_FXF_ACCESS_DELETE_ON_CLOSE flag set, and that no other handle will be opened with ACE4_DELETE access or with the SSH_FXF_ACCESS_DELETE_ON_CLOSE flag set, and that the file itself is not deleted in any other way until the client closes the handle.
SSH_FXF_ACCESS_BLOCK_READ - Static variable in class com.trilead.ssh2.sftp.OpenFlags
The server MUST guarantee that no other handle has been opened with ACE4_READ_DATA access, and that no other handle will be opened with ACE4_READ_DATA access until the client closes the handle.
SSH_FXF_ACCESS_BLOCK_WRITE - Static variable in class com.trilead.ssh2.sftp.OpenFlags
The server MUST guarantee that no other handle has been opened with ACE4_WRITE_DATA or ACE4_APPEND_DATA access, and that no other handle will be opened with ACE4_WRITE_DATA or ACE4_APPEND_DATA access until the client closes the handle.
SSH_FXF_ACCESS_DELETE_ON_CLOSE - Static variable in class com.trilead.ssh2.sftp.OpenFlags
The file should be deleted when the last handle to it is closed.
SSH_FXF_ACCESS_DISPOSITION - Static variable in class com.trilead.ssh2.sftp.OpenFlags
Disposition is a 3 bit field that controls how the file is opened.
SSH_FXF_ACCESS_NOFOLLOW - Static variable in class com.trilead.ssh2.sftp.OpenFlags
If the final component of the path is a symlink, then the open MUST fail, and the error SSH_FX_LINK_LOOP MUST be returned.
SSH_FXF_ACCESS_TEXT_MODE - Static variable in class com.trilead.ssh2.sftp.OpenFlags
Indicates that the server should treat the file as text and convert it to the canonical newline convention in use.
SSH_FXF_CREATE_NEW - Static variable in class com.trilead.ssh2.sftp.OpenFlags
A new file is created; if the file already exists, the server MUST return status SSH_FX_FILE_ALREADY_EXISTS.
SSH_FXF_CREATE_TRUNCATE - Static variable in class com.trilead.ssh2.sftp.OpenFlags
A new file is created; if the file already exists, it is opened and truncated.
SSH_FXF_OPEN_EXISTING - Static variable in class com.trilead.ssh2.sftp.OpenFlags
An existing file is opened.
SSH_FXF_OPEN_OR_CREATE - Static variable in class com.trilead.ssh2.sftp.OpenFlags
If the file exists, it is opened.
SSH_FXF_TRUNCATE_EXISTING - Static variable in class com.trilead.ssh2.sftp.OpenFlags
An existing file is opened and truncated.
SSH_FXP_ATTRS - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_CLOSE - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_DATA - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_EXTENDED - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_EXTENDED_REPLY - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_FSETSTAT - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_FSTAT - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_HANDLE - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_INIT - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_LSTAT - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_MKDIR - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_NAME - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_OPEN - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_OPENDIR - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_READ - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_READDIR - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_READLINK - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_REALPATH - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_REMOVE - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_RENAME - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_RMDIR - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_SETSTAT - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_STAT - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_STATUS - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_SYMLINK - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_VERSION - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_FXP_WRITE - Static variable in class com.trilead.ssh2.sftp.Packet
 
SSH_MSG_CHANNEL_CLOSE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_DATA - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_EOF - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_EXTENDED_DATA - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_FAILURE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_OPEN - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_OPEN_CONFIRMATION - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_OPEN_FAILURE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_REQUEST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_SUCCESS - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_CHANNEL_WINDOW_ADJUST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_DEBUG - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_DISCONNECT - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_GLOBAL_REQUEST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_IGNORE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEX_DH_GEX_GROUP - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEX_DH_GEX_INIT - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEX_DH_GEX_REPLY - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEX_DH_GEX_REQUEST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEX_DH_GEX_REQUEST_OLD - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEXDH_INIT - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEXDH_REPLY - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_KEXINIT - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_NEWKEYS - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_REQUEST_FAILURE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_REQUEST_SUCCESS - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_SERVICE_ACCEPT - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_SERVICE_REQUEST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_UNIMPLEMENTED - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_USERAUTH_BANNER - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_USERAUTH_FAILURE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_USERAUTH_INFO_REQUEST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_USERAUTH_INFO_RESPONSE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_USERAUTH_REQUEST - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_MSG_USERAUTH_SUCCESS - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_OPEN_ADMINISTRATIVELY_PROHIBITED - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_OPEN_CONNECT_FAILED - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_OPEN_RESOURCE_SHORTAGE - Static variable in class com.trilead.ssh2.packets.Packets
 
SSH_OPEN_UNKNOWN_CHANNEL_TYPE - Static variable in class com.trilead.ssh2.packets.Packets
 
startShell() - Method in class com.trilead.ssh2.Session
Start a shell on the remote machine.
startSubSystem(String) - Method in class com.trilead.ssh2.Session
Start a subsystem on the remote machine.
stat(String) - Method in class com.trilead.ssh2.SFTPv3Client
Retrieve the file attributes of a file.
state - Variable in class com.trilead.ssh2.transport.KexState
 
STDERR_DATA - Static variable in interface com.trilead.ssh2.ChannelCondition
There is stderr data available that is ready to be consumed.
STDOUT_DATA - Static variable in interface com.trilead.ssh2.ChannelCondition
There is stdout data available that is ready to be consumed.
stopWorking() - Method in class com.trilead.ssh2.channel.LocalAcceptThread
 
StreamForwarder - Class in com.trilead.ssh2.channel
A StreamForwarder forwards data between two given streams.
StreamGobbler - Class in com.trilead.ssh2
A StreamGobbler is an InputStream that uses an internal worker thread to constantly consume input from another InputStream.
StreamGobbler(InputStream) - Constructor for class com.trilead.ssh2.StreamGobbler
 
subsystem - Variable in class com.trilead.ssh2.packets.PacketSessionSubsystemRequest
 

T

term - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
terminal_modes - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
TIMEOUT - Static variable in interface com.trilead.ssh2.ChannelCondition
A timeout has occurred, none of your requested conditions is fulfilled.
TimeoutService - Class in com.trilead.ssh2.util
TimeoutService (beta).
TimeoutService() - Constructor for class com.trilead.ssh2.util.TimeoutService
 
TimeoutService.TimeoutToken - Class in com.trilead.ssh2.util
 
Tokenizer - Class in com.trilead.ssh2.util
Tokenizer.
Tokenizer() - Constructor for class com.trilead.ssh2.util.Tokenizer
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.AES
 
transformBlock(byte[], int, byte[], int) - Method in interface com.trilead.ssh2.crypto.cipher.BlockCipher
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.BlowFish
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.CBCMode
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.CTRMode
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.DES
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.DESede
 
transformBlock(byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.NullCipher
 
TransportConnection - Class in com.trilead.ssh2.transport
TransportConnection.
TransportConnection(InputStream, OutputStream, SecureRandom) - Constructor for class com.trilead.ssh2.transport.TransportConnection
 
TransportManager - Class in com.trilead.ssh2.transport
TransportManager.
TransportManager(String, int) - Constructor for class com.trilead.ssh2.transport.TransportManager
 
TypesReader - Class in com.trilead.ssh2.packets
TypesReader.
TypesReader(byte[]) - Constructor for class com.trilead.ssh2.packets.TypesReader
 
TypesReader(byte[], int) - Constructor for class com.trilead.ssh2.packets.TypesReader
 
TypesReader(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.TypesReader
 
TypesWriter - Class in com.trilead.ssh2.packets
TypesWriter.
TypesWriter() - Constructor for class com.trilead.ssh2.packets.TypesWriter
 

U

uid - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The UID attribute.
unRegisterX11Cookie(String, boolean) - Method in class com.trilead.ssh2.channel.ChannelManager
 
update(byte) - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
update(byte) - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
update(byte) - Method in class com.trilead.ssh2.crypto.digest.MD5
 
update(byte) - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
update(byte[]) - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
update(byte[]) - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
update(byte[]) - Method in class com.trilead.ssh2.crypto.digest.MD5
 
update(byte[]) - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
update(byte[], int, int) - Method in interface com.trilead.ssh2.crypto.digest.Digest
 
update(byte[], int, int) - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
update(byte[], int, int) - Method in class com.trilead.ssh2.crypto.digest.MAC
 
update(byte[], int, int) - Method in class com.trilead.ssh2.crypto.digest.MD5
 
update(byte[], int, int) - Method in class com.trilead.ssh2.crypto.digest.SHA1
 
updateBigInt(BigInteger) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
updateByte(byte) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
updateBytes(byte[]) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
updateByteString(byte[]) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
updateUINT32(int) - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 

V

verifyHostkey(String, String, byte[]) - Method in class com.trilead.ssh2.KnownHosts
Checks the internal hostkey database for the given hostkey.
verifyServerHostKey(String, int, String, byte[]) - Method in interface com.trilead.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.
verifySignature(byte[], DSASignature, DSAPublicKey) - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
verifySignature(byte[], RSASignature, RSAPublicKey) - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 

W

waitForCondition(int, long) - Method in class com.trilead.ssh2.Session
This method blocks until certain conditions hold true on the underlying SSH-2 channel.
waitForCondition(Channel, long, int) - Method in class com.trilead.ssh2.channel.ChannelManager
Wait until for a condition.
waitUntilDataAvailable(long) - Method in class com.trilead.ssh2.Session
Deprecated.
This method has been replaced with a much more powerful wait-for-condition interface and therefore acts only as a wrapper.
wantReply - Variable in class com.trilead.ssh2.packets.PacketGlobalCancelForwardRequest
 
wantReply - Variable in class com.trilead.ssh2.packets.PacketGlobalForwardRequest
 
wantReply - Variable in class com.trilead.ssh2.packets.PacketSessionExecCommand
 
wantReply - Variable in class com.trilead.ssh2.packets.PacketSessionPtyRequest
 
wantReply - Variable in class com.trilead.ssh2.packets.PacketSessionStartShell
 
wantReply - Variable in class com.trilead.ssh2.packets.PacketSessionSubsystemRequest
 
wantReply - Variable in class com.trilead.ssh2.packets.PacketSessionX11Request
 
windowChange - Variable in class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
write(byte[]) - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
write(byte[], int, int) - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
write(byte[], int, int) - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
write(int) - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
write(int) - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
write(SFTPv3FileHandle, long, byte[], int, int) - Method in class com.trilead.ssh2.SFTPv3Client
Write bytes to a file.
writeBoolean(boolean) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeByte(int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeByte(int, int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeBytes(byte[]) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeBytes(byte[], int, int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeMPInt(BigInteger) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeNameList(String[]) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writePlain(byte[], int, int) - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
writePlain(int) - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
writeString(byte[], int, int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeString(String) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeString(String, String) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeUINT32(int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeUINT32(int, int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeUINT64(long) - Method in class com.trilead.ssh2.packets.TypesWriter
 

X

x11_magic_cookie - Variable in class com.trilead.ssh2.channel.X11ServerData
 
X11ServerData - Class in com.trilead.ssh2.channel
X11ServerData.
X11ServerData() - Constructor for class com.trilead.ssh2.channel.X11ServerData
 
A B C D E F G H I K L M N O P R S T U V W X 
All Classes All Packages