Skip navigation links
A B C D E F G H I K L M N O P R S T U V W X Z 

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.
addIdentity(KeyPair, String, boolean, int) - Method in interface com.trilead.ssh2.AuthAgentCallback
 
addServerHostKey(String, int, String, byte[]) - Method in class com.trilead.ssh2.ExtendedServerHostKeyVerifier
After authentication, if the server indicates it has another keyAlgorithm, this method will be called for the app to add it to its record of known keys for this hostname.
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
AES modes for SSH using the JCE.
AES() - Constructor for class com.trilead.ssh2.crypto.cipher.AES
 
AES.CBC - Class in com.trilead.ssh2.crypto.cipher
 
AES.CTR - Class in com.trilead.ssh2.crypto.cipher
 
ALT_NAME - Static variable in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
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
 
AuthAgentCallback - Interface in com.trilead.ssh2
AuthAgentCallback.
AuthAgentForwardThread - Class in com.trilead.ssh2.channel
AuthAgentForwardThread.
AuthAgentForwardThread(Channel, AuthAgentCallback) - Constructor for class com.trilead.ssh2.channel.AuthAgentForwardThread
 
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, KeyPair, SecureRandom) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticatePublicKey(String, SignatureProxy) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
authenticatePublicKey(String, KeyPair, SecureRandom, SignatureProxy) - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
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, KeyPair) - 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, EC, or RSA) and then calls authenticateWithPublicKey(String, char[], String).
authenticateWithPublicKey(String, SignatureProxy) - Method in class com.trilead.ssh2.Connection
After a successful connect, one has to authenticate oneself.
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
 
bc - Variable in class com.trilead.ssh2.crypto.cipher.DES.CBC
 
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
 
BlowFish.CBC - Class in com.trilead.ssh2.crypto.cipher
 
BlowFish.CTR - Class in com.trilead.ssh2.crypto.cipher
 

C

c2s_comp_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
c2s_enc_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
c2s_mac_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
calculateH(String, byte[], byte[], byte[], byte[], byte[], DHGexParameters) - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
calculateH(byte[], byte[], byte[], byte[], byte[]) - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
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
 
canCompressPreauth() - Method in interface com.trilead.ssh2.compression.ICompressor
 
canCompressPreauth() - Method in class com.trilead.ssh2.compression.Zlib
 
canCompressPreauth() - Method in class com.trilead.ssh2.compression.ZlibOpenSSH
 
canonicalPath(String) - Method in class com.trilead.ssh2.SFTPv3Client
Have the server canonicalize any given path name to an absolute path.
CBC() - Constructor for class com.trilead.ssh2.crypto.cipher.AES.CBC
 
CBC() - Constructor for class com.trilead.ssh2.crypto.cipher.BlowFish.CBC
 
CBC() - Constructor for class com.trilead.ssh2.crypto.cipher.DES.CBC
 
CBC() - Constructor for class com.trilead.ssh2.crypto.cipher.DESede.CBC
 
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
 
changeRecvCompression(ICompressor) - Method in class com.trilead.ssh2.transport.TransportConnection
 
changeRecvCompression(ICompressor) - 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
 
changeSendCompression(ICompressor) - Method in class com.trilead.ssh2.transport.TransportConnection
 
changeSendCompression(ICompressor) - 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
 
checkCompressorList(String[]) - Static method in class com.trilead.ssh2.compression.CompressionFactory
 
checkKexAlgorithmList(String[]) - Static method in class com.trilead.ssh2.transport.KexManager
 
checkMacList(String[]) - Static method in class com.trilead.ssh2.crypto.digest.MACs
 
checkServerHostkeyAlgorithmsList(String[]) - Static method in class com.trilead.ssh2.transport.KexManager
 
checkX11Cookie(String) - Method in class com.trilead.ssh2.channel.ChannelManager
 
cipher - Variable in class com.trilead.ssh2.crypto.cipher.AES
 
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
 
clientToServerCompressionAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The currently used compression algorithm for packets from the client to the server.
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.DynamicPortForwarder
Stop TCP/IP forwarding of newly arriving connections.
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.compression - package com.trilead.ssh2.compression
 
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.crypto.keys - package com.trilead.ssh2.crypto.keys
 
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
 
compress(byte[], int, int, byte[]) - Method in interface com.trilead.ssh2.compression.ICompressor
 
compress(byte[], int, int, byte[]) - Method in class com.trilead.ssh2.compression.Zlib
 
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
 
CompressionFactory - Class in com.trilead.ssh2.compression
 
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.
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
 
createCompressor(String) - Static method in class com.trilead.ssh2.compression.CompressionFactory
 
createDynamicPortForwarder(int) - Method in class com.trilead.ssh2.Connection
Creates a new DynamicPortForwarder.
createDynamicPortForwarder(InetSocketAddress) - Method in class com.trilead.ssh2.Connection
Creates a new DynamicPortForwarder.
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
 
CTR() - Constructor for class com.trilead.ssh2.crypto.cipher.AES.CTR
 
CTR() - Constructor for class com.trilead.ssh2.crypto.cipher.BlowFish.CTR
 
CTR() - Constructor for class com.trilead.ssh2.crypto.cipher.DESede.CTR
 
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
 
Curve25519Exchange - Class in com.trilead.ssh2.crypto.dh
Created by Kenny Root on 1/23/16.
Curve25519Exchange() - Constructor for class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
Curve25519Exchange(byte[]) - Constructor for class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 

D

data - Variable in class com.trilead.ssh2.crypto.PEMStructure
 
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
 
decode(PEMStructure, String) - Static method in class com.trilead.ssh2.crypto.PEMDecoder
 
decodeECPoint(byte[]) - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
Decode an OctetString to EllipticCurvePoint according to SECG 2.3.4
decodePublicKey(byte[]) - Method in class com.trilead.ssh2.signature.DSASHA1Verify
 
decodePublicKey(byte[]) - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
decodePublicKey(byte[]) - Method in class com.trilead.ssh2.signature.Ed25519Verify
 
decodePublicKey(byte[]) - Method in class com.trilead.ssh2.signature.RSASHA1Verify
 
decodePublicKey(byte[]) - Method in class com.trilead.ssh2.signature.RSASHA256Verify
 
decodePublicKey(byte[]) - Method in class com.trilead.ssh2.signature.RSASHA512Verify
 
decodePublicKey(byte[]) - Method in interface com.trilead.ssh2.signature.SSHSignature
Decode from SSH specification key to Java public key.
DES - Class in com.trilead.ssh2.crypto.cipher
DES.
DES() - Constructor for class com.trilead.ssh2.crypto.cipher.DES
standard constructor.
DES.CBC - Class in com.trilead.ssh2.crypto.cipher
 
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.
DESede.CBC - Class in com.trilead.ssh2.crypto.cipher
 
DESede.CTR - Class in com.trilead.ssh2.crypto.cipher
 
desFunc(int[], byte[], int, byte[], int) - Method in class com.trilead.ssh2.crypto.cipher.DES
the DES engine.
destroy() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
DhExchange - Class in com.trilead.ssh2.crypto.dh
 
DhExchange() - Constructor for class com.trilead.ssh2.crypto.dh.DhExchange
 
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.
dhgexParameters - Variable in class com.trilead.ssh2.transport.KexState
 
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
 
DSASHA1Verify - Class in com.trilead.ssh2.signature
DSASHA1Verify.
DynamicAcceptThread - Class in com.trilead.ssh2.channel
DynamicAcceptThread.
DynamicAcceptThread(ChannelManager, int) - Constructor for class com.trilead.ssh2.channel.DynamicAcceptThread
 
DynamicAcceptThread(ChannelManager, InetSocketAddress) - Constructor for class com.trilead.ssh2.channel.DynamicAcceptThread
 
DynamicPortForwarder - Class in com.trilead.ssh2
A DynamicPortForwarder forwards TCP/IP connections to a local port via the secure tunnel to another host which is selected via the SOCKS protocol.

E

EcDhExchange - Class in com.trilead.ssh2.crypto.dh
 
EcDhExchange() - Constructor for class com.trilead.ssh2.crypto.dh.EcDhExchange
 
ECDSA_SHA2_PREFIX - Static variable in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
ECDSASHA2Verify - Class in com.trilead.ssh2.signature
 
ECDSASHA2Verify() - Constructor for class com.trilead.ssh2.signature.ECDSASHA2Verify
 
ECDSASHA2Verify.ECDSASHA2NISTP256Verify - Class in com.trilead.ssh2.signature
 
ECDSASHA2Verify.ECDSASHA2NISTP384Verify - Class in com.trilead.ssh2.signature
 
ECDSASHA2Verify.ECDSASHA2NISTP521Verify - Class in com.trilead.ssh2.signature
 
ED25519_ID - Static variable in class com.trilead.ssh2.signature.Ed25519Verify
Identifies this as an Ed25519 key in the protocol.
Ed25519KeyFactory - Class in com.trilead.ssh2.crypto.keys
 
Ed25519KeyFactory() - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519KeyFactory
 
Ed25519KeyPairGenerator - Class in com.trilead.ssh2.crypto.keys
 
Ed25519KeyPairGenerator() - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519KeyPairGenerator
 
Ed25519PrivateKey - Class in com.trilead.ssh2.crypto.keys
 
Ed25519PrivateKey(byte[]) - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
Ed25519PrivateKey(PKCS8EncodedKeySpec) - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
Ed25519Provider - Class in com.trilead.ssh2.crypto.keys
 
Ed25519Provider() - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519Provider
 
Ed25519PublicKey - Class in com.trilead.ssh2.crypto.keys
 
Ed25519PublicKey(byte[]) - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
Ed25519PublicKey(X509EncodedKeySpec) - Constructor for class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
Ed25519Verify - Class in com.trilead.ssh2.signature
 
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
 
encodeECPoint(ECPoint, EllipticCurve) - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify
Encode EllipticCurvePoint to an OctetString
encodePublicKey(PublicKey) - Method in class com.trilead.ssh2.signature.DSASHA1Verify
 
encodePublicKey(PublicKey) - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
encodePublicKey(PublicKey) - Method in class com.trilead.ssh2.signature.Ed25519Verify
 
encodePublicKey(PublicKey) - Method in class com.trilead.ssh2.signature.RSASHA1Verify
 
encodePublicKey(PublicKey) - Method in class com.trilead.ssh2.signature.RSASHA256Verify
 
encodePublicKey(PublicKey) - Method in class com.trilead.ssh2.signature.RSASHA512Verify
 
encodePublicKey(PublicKey) - Method in interface com.trilead.ssh2.signature.SSHSignature
Encode from Java public key to SSH specification.
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
 
engineGeneratePrivate(KeySpec) - Method in class com.trilead.ssh2.crypto.keys.Ed25519KeyFactory
 
engineGeneratePublic(KeySpec) - Method in class com.trilead.ssh2.crypto.keys.Ed25519KeyFactory
 
engineGetKeySpec(Key, Class<T>) - Method in class com.trilead.ssh2.crypto.keys.Ed25519KeyFactory
 
engineTranslateKey(Key) - Method in class com.trilead.ssh2.crypto.keys.Ed25519KeyFactory
 
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.
equals(Object) - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
equals(Object) - Method in class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
ErrorCodes - Class in com.trilead.ssh2.sftp
SFTP Error Codes
ErrorCodes() - Constructor for class com.trilead.ssh2.sftp.ErrorCodes
 
EtmCipher - Interface in com.trilead.ssh2.crypto.cipher
 
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.
ExtendedServerHostKeyVerifier - Class in com.trilead.ssh2
This extends the ServerHostKeyVerifier interface by allowing the remote server to indicate it has multiple server key algorithms available.
ExtendedServerHostKeyVerifier() - Constructor for class com.trilead.ssh2.ExtendedServerHostKeyVerifier
 
ExtensionInfo - Class in com.trilead.ssh2
SSH extensions reported by the server https://tools.ietf.org/html/draft-ietf-curdle-ssh-ext-info-15

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
 
fromPacketExtInfo(PacketExtInfo) - Static method in class com.trilead.ssh2.ExtensionInfo
 
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

generateKeyPair() - Method in class com.trilead.ssh2.crypto.keys.Ed25519KeyPairGenerator
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in class com.trilead.ssh2.signature.DSASHA1Verify
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in class com.trilead.ssh2.signature.Ed25519Verify
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in class com.trilead.ssh2.signature.RSASHA1Verify
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in class com.trilead.ssh2.signature.RSASHA256Verify
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in class com.trilead.ssh2.signature.RSASHA512Verify
 
generateSignature(byte[], PrivateKey, SecureRandom) - Method in interface com.trilead.ssh2.signature.SSHSignature
Generate an SSH-format signature for the message and private key.
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.
GenericDhExchange - Class in com.trilead.ssh2.crypto.dh
DhExchange.
GenericDhExchange() - Constructor for class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
get(String, String) - Method in class com.trilead.ssh2.SCPClient
Download a file 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 set of files from the remote server to a local directory.
get() - Static method in class com.trilead.ssh2.signature.DSASHA1Verify
 
get() - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
get() - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
get() - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
get() - Static method in class com.trilead.ssh2.signature.Ed25519Verify
 
get() - Static method in class com.trilead.ssh2.signature.RSASHA1Verify
 
get() - Static method in class com.trilead.ssh2.signature.RSASHA256Verify
 
get() - Static method in class com.trilead.ssh2.signature.RSASHA512Verify
 
getAbyte() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
getAlgorithm() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
getAlgorithm() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
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(String) - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
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.CBC
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.DES
 
getBlockSize() - Method in class com.trilead.ssh2.crypto.cipher.NullCipher
 
getBufferSize() - Method in interface com.trilead.ssh2.compression.ICompressor
 
getBufferSize() - Method in class com.trilead.ssh2.compression.Zlib
 
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
 
getCurveName() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
getCurveName() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
getCurveName() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
getCurveName() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getCurveSize(ECParameterSpec) - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getDefaultCipherList() - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
getDefaultCompressorList() - Static method in class com.trilead.ssh2.compression.CompressionFactory
 
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
 
getDigestAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
getDigestAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
getDigestAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
getDigestAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getDigestAlgorithmForParams(ECKey) - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getDigestLength() - Method in class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
getE() - Method in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
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.crypto.dh.EcDhExchange
 
getE() - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
getEcho() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getEncoded() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
getEncoded() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
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.
getExtensionInfo() - Method in class com.trilead.ssh2.transport.TransportManager
 
getExtNameToValue() - Method in class com.trilead.ssh2.packets.PacketExtInfo
 
getF() - Method in class com.trilead.ssh2.packets.PacketKexDhGexReply
 
getF() - Method in class com.trilead.ssh2.packets.PacketKexDHReply
 
getFormat() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
getFormat() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
getG() - Method in class com.trilead.ssh2.packets.PacketKexDhGexGroup
 
getHashAlgo() - Method in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
getHashAlgo() - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
getHashAlgo() - Method in class com.trilead.ssh2.crypto.dh.EcDhExchange
 
getHashAlgo() - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
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.
getInputStream() - Method in class com.trilead.ssh2.LocalStreamForwarder
 
getInstance(String) - Static method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
getInstruction() - Method in class com.trilead.ssh2.packets.PacketUserauthInfoRequest
 
getK() - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
getK() - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
getKex_algorithms() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getKexParameters() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.DSASHA1Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.Ed25519Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.RSASHA1Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.RSASHA256Verify
 
getKeyFormat() - Method in class com.trilead.ssh2.signature.RSASHA512Verify
 
getKeyFormat() - Method in interface com.trilead.ssh2.signature.SSHSignature
Returns the supported signature formats.
getKeyLen(String) - Static method in class com.trilead.ssh2.crypto.digest.MACs
 
getKeyPair(byte[]) - Method in interface com.trilead.ssh2.AuthAgentCallback
 
getKeySize(String) - Static method in class com.trilead.ssh2.crypto.cipher.BlockCipherFactory
 
getKnownKeyAlgorithmsForHost(String, int) - Method in class com.trilead.ssh2.ExtendedServerHostKeyVerifier
Called during connection to determine which keys are known for this host.
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.HMAC
 
getMac(byte[], int) - Method in interface 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.MACs
 
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.
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.
getOid() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
getOid() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
getOid() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
getOid() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
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
 
getPacketOverheadEstimate() - Method in class com.trilead.ssh2.transport.TransportConnection
 
getPacketOverheadEstimate() - Method in class com.trilead.ssh2.transport.TransportManager
 
getParameterSpec() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
getParameterSpec() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
getParameterSpec() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
getParameterSpec() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getPartialSuccess() - Method in class com.trilead.ssh2.auth.AuthenticationManager
 
getPayload() - Method in class com.trilead.ssh2.packets.PacketChannelAuthAgentReq
 
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.PacketExtInfo
 
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.PacketSessionPtyResize
 
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.auth.SignatureProxy
 
getReasonClosed() - Method in class com.trilead.ssh2.channel.Channel
 
getReasonClosedCause() - Method in class com.trilead.ssh2.transport.TransportManager
 
getRecordedOutput() - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
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
 
getSeed() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
getServer_host_key_algorithms() - Method in class com.trilead.ssh2.packets.PacketKexInit
 
getServerE() - Method in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
getServerE() - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
getServerE() - Method in class com.trilead.ssh2.crypto.dh.EcDhExchange
 
getServerE() - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
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
 
getSignatureAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
getSignatureAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
getSignatureAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
getSignatureAlgorithm() - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getSignatureAlgorithmsAccepted() - Method in class com.trilead.ssh2.ExtensionInfo
 
getSshKeyType(ECKey) - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
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
 
getVerifierForKey(ECKey) - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
getVerifierForOID(String) - Static method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
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
 
hashAlgo - Variable in class com.trilead.ssh2.transport.KexState
 
hashCode() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
hashCode() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PublicKey
 
HashForSSH2Types - Class in com.trilead.ssh2.crypto.digest
HashForSSH2Types.
HashForSSH2Types(String) - Constructor for class com.trilead.ssh2.crypto.digest.HashForSSH2Types
 
height - Variable in class com.trilead.ssh2.packets.PacketSessionPtyResize
 
HMAC - Class in com.trilead.ssh2.crypto.digest
MAC.
HMAC(String, byte[]) - 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

ICompressor - Interface in com.trilead.ssh2.compression
 
ID_RSA_SHA_2_256 - Static variable in class com.trilead.ssh2.signature.RSASHA256Verify
 
ID_RSA_SHA_2_512 - Static variable in class com.trilead.ssh2.signature.RSASHA512Verify
 
ID_SSH_DSS - Static variable in class com.trilead.ssh2.signature.DSASHA1Verify
 
ID_SSH_RSA - Static variable in class com.trilead.ssh2.signature.RSASHA1Verify
 
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[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.AES
 
init(boolean, byte[], byte[]) - Method in interface com.trilead.ssh2.crypto.cipher.BlockCipher
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.BlowFish.CBC
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.BlowFish.CTR
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.BlowFish
initialise a Blowfish cipher.
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.CBCMode
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.CTRMode
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DES.CBC
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DES
initialise a DES cipher.
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DESede.CBC
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DESede.CTR
 
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.DESede
initialise a DES cipher.
init(boolean, byte[], byte[]) - Method in class com.trilead.ssh2.crypto.cipher.NullCipher
 
init(String) - Method in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
init(String) - Method in class com.trilead.ssh2.crypto.dh.DhExchange
 
init(SecureRandom) - Method in class com.trilead.ssh2.crypto.dh.DhGroupExchange
 
init(String) - Method in class com.trilead.ssh2.crypto.dh.EcDhExchange
 
init(String) - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
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(int, SecureRandom) - Method in class com.trilead.ssh2.crypto.keys.Ed25519KeyPairGenerator
 
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.HMAC
 
initMac(int) - Method in interface com.trilead.ssh2.crypto.digest.MAC
 
insertIfNeeded() - Static method in class com.trilead.ssh2.crypto.keys.Ed25519Provider
 
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.
isAgentLocked() - Method in interface com.trilead.ssh2.AuthAgentCallback
 
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.
isDestroyed() - Method in class com.trilead.ssh2.crypto.keys.Ed25519PrivateKey
 
isDirectory() - Method in class com.trilead.ssh2.SFTPv3FileAttributes
Checks if this entry is a directory.
isEnabled() - Method in class com.trilead.ssh2.log.Logger
 
isEncryptThenMac() - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
isEncryptThenMac() - Method in interface com.trilead.ssh2.crypto.digest.MAC
 
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
 
KEY_ALGORITHM - Static variable in class com.trilead.ssh2.crypto.keys.Ed25519Provider
 
KEY_SIZE - Static variable in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
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
 
KnownHosts.KnownHostsEntry - Class in com.trilead.ssh2
 

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, String) - Method in interface com.trilead.ssh2.DebugLogger
Log a debug message.
log(int, String) - Method 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
 
logger - Static variable in 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 - Interface in com.trilead.ssh2.crypto.digest
Created by kenny on 2/12/17.
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
 
MACs - Class in com.trilead.ssh2.crypto.digest
MAC.
MACs() - Constructor for class com.trilead.ssh2.crypto.digest.MACs
 
maxPacketSize - Variable in class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
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

NAME - Static variable in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
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
 
nistp256 - Static variable in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP256Verify
 
nistp384 - Static variable in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP384Verify
 
nistp521 - Static variable in class com.trilead.ssh2.signature.ECDSASHA2Verify.ECDSASHA2NISTP521Verify
 
noExtInfoSeen() - Static method in class com.trilead.ssh2.ExtensionInfo
 
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

openConnection(String, int, int) - Method in class com.trilead.ssh2.HTTPProxyData
 
openConnection(String, int, int) - Method in interface com.trilead.ssh2.ProxyData
Connects the socket to the given destination using the proxy method that this instance represents.
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
 
PacketChannelAuthAgentReq - Class in com.trilead.ssh2.packets
PacketGlobalAuthAgent.
PacketChannelAuthAgentReq(int) - Constructor for class com.trilead.ssh2.packets.PacketChannelAuthAgentReq
 
PacketChannelOpenConfirmation - Class in com.trilead.ssh2.packets
PacketChannelOpenConfirmation.
PacketChannelOpenConfirmation(int, int, int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
PacketChannelOpenConfirmation(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenConfirmation
 
PacketChannelOpenFailure - Class in com.trilead.ssh2.packets
PacketChannelOpenFailure.
PacketChannelOpenFailure(int, int, String, String) - Constructor for class com.trilead.ssh2.packets.PacketChannelOpenFailure
 
PacketChannelOpenFailure(byte[], int, int) - 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(int, int) - Constructor for class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
PacketChannelWindowAdjust(byte[], 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
 
PacketExtInfo - Class in com.trilead.ssh2.packets
Packet format described here: https://tools.ietf.org/html/draft-ietf-curdle-ssh-ext-info-15#section-2.3
PacketExtInfo(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketExtInfo
 
PacketExtInfo(Map<String, String>) - Constructor for class com.trilead.ssh2.packets.PacketExtInfo
 
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(byte[]) - 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(CryptoWishList) - Constructor for class com.trilead.ssh2.packets.PacketKexInit
 
PacketKexInit(byte[], int, int) - 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(int, int, int) - Constructor for class com.trilead.ssh2.packets.PacketOpenSessionChannel
 
PacketOpenSessionChannel(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketOpenSessionChannel
 
Packets - Class in com.trilead.ssh2.packets
Packets.
PacketServiceAccept - Class in com.trilead.ssh2.packets
PacketServiceAccept.
PacketServiceAccept(String) - Constructor for class com.trilead.ssh2.packets.PacketServiceAccept
 
PacketServiceAccept(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketServiceAccept
 
PacketServiceRequest - Class in com.trilead.ssh2.packets
PacketServiceRequest.
PacketServiceRequest(String) - Constructor for class com.trilead.ssh2.packets.PacketServiceRequest
 
PacketServiceRequest(byte[], int, int) - 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
 
PacketSessionPtyResize - Class in com.trilead.ssh2.packets
 
PacketSessionPtyResize(int, int, int, int, int) - Constructor for class com.trilead.ssh2.packets.PacketSessionPtyResize
 
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(String, String) - Constructor for class com.trilead.ssh2.packets.PacketUserauthBanner
 
PacketUserauthBanner(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthBanner
 
PacketUserauthFailure - Class in com.trilead.ssh2.packets
PacketUserauthBanner.
PacketUserauthFailure(String[], boolean) - Constructor for class com.trilead.ssh2.packets.PacketUserauthFailure
 
PacketUserauthFailure(byte[], int, int) - 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(String, String) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestNone
 
PacketUserauthRequestNone(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestNone
 
PacketUserauthRequestPassword - Class in com.trilead.ssh2.packets
PacketUserauthRequestPassword.
PacketUserauthRequestPassword(String, String, String) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPassword
 
PacketUserauthRequestPassword(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPassword
 
PacketUserauthRequestPublicKey - Class in com.trilead.ssh2.packets
PacketUserauthRequestPublicKey.
PacketUserauthRequestPublicKey(String, String, String, byte[], byte[]) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPublicKey
 
PacketUserauthRequestPublicKey(byte[], int, int) - Constructor for class com.trilead.ssh2.packets.PacketUserauthRequestPublicKey
 
parsePEM(char[]) - Static method in class com.trilead.ssh2.crypto.PEMDecoder
 
parseTokens(String, char) - Static method in class com.trilead.ssh2.util.Tokenizer
Exists because StringTokenizer is not available in J2ME.
peekPlain(byte[], int, int) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
PEM_DSA_PRIVATE_KEY - Static variable in class com.trilead.ssh2.crypto.PEMDecoder
 
PEM_EC_PRIVATE_KEY - Static variable in class com.trilead.ssh2.crypto.PEMDecoder
 
PEM_OPENSSH_PRIVATE_KEY - Static variable in class com.trilead.ssh2.crypto.PEMDecoder
 
PEM_RSA_PRIVATE_KEY - Static variable in class com.trilead.ssh2.crypto.PEMDecoder
 
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
 
pemType - Variable in 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
 
pixelHeight - Variable in class com.trilead.ssh2.packets.PacketSessionPtyResize
 
pixelWidth - Variable in class com.trilead.ssh2.packets.PacketSessionPtyResize
 
port - Variable in class com.trilead.ssh2.channel.X11ServerData
 
ProxyData - Interface in com.trilead.ssh2
An abstract interface implemented by all proxy data implementations.
publicKeys - Variable in class com.trilead.ssh2.KnownHosts
 
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) - 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) - 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.
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, 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[], String, String) - Method in class com.trilead.ssh2.SCPClient
 

R

read(byte[], int, int) - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
read(byte[]) - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
read() - Method in class com.trilead.ssh2.channel.ChannelInputStream
 
read(byte[]) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
read(byte[], int, int) - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
read() - Method in class com.trilead.ssh2.crypto.cipher.CipherInputStream
 
read(SFTPv3FileHandle, long, byte[], int, int) - Method in class com.trilead.ssh2.SFTPv3Client
Read bytes from a file.
read() - Method in class com.trilead.ssh2.StreamGobbler
 
read(byte[]) - Method in class com.trilead.ssh2.StreamGobbler
 
read(byte[], int, int) - Method in class com.trilead.ssh2.StreamGobbler
 
readBoolean() - Method in class com.trilead.ssh2.packets.TypesReader
 
readByte() - Method in class com.trilead.ssh2.packets.TypesReader
 
readBytes(int) - Method in class com.trilead.ssh2.packets.TypesReader
 
readBytes(byte[], int, int) - Method in class com.trilead.ssh2.packets.TypesReader
 
readByteString() - Method in class com.trilead.ssh2.packets.TypesReader
 
readConstructed() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
readConstructedType() - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
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
 
readOid() - 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(String) - Method in class com.trilead.ssh2.packets.TypesReader
 
readString() - 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.PacketChannelAuthAgentReq
 
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.PacketSessionPtyResize
 
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
 
removeAllIdentities() - Method in interface com.trilead.ssh2.AuthAgentCallback
 
removeIdentity(byte[]) - Method in interface com.trilead.ssh2.AuthAgentCallback
 
removeMessageHandler(MessageHandler, int, int) - Method in class com.trilead.ssh2.transport.TransportManager
 
removeServerHostKey(String, int, String, byte[]) - Method in class com.trilead.ssh2.ExtendedServerHostKeyVerifier
After authentication, if the server indicates it no longer uses this key, this method will be called for the app to remove its record of it.
replyToChallenge(String, String, int, String[], boolean[]) - Method in interface com.trilead.ssh2.InteractiveCallback
This callback interface is used during a "keyboard-interactive" authentication.
requestAgentUnlock(String) - Method in interface com.trilead.ssh2.AuthAgentCallback
 
requestAuthAgentForwarding(AuthAgentCallback) - Method in class com.trilead.ssh2.Session
Request authentication agent forwarding.
requestCancelGlobalForward(int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
requestChannelAgentForwarding(Channel, AuthAgentCallback) - 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
 
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.digest.HashForSSH2Types
 
resetInput(byte[]) - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
resetInput(byte[], int, int) - Method in class com.trilead.ssh2.crypto.SimpleDERReader
 
resizePTY(Channel, int, int, int, int) - Method in class com.trilead.ssh2.channel.ChannelManager
 
resizePTY(int, int, int, int) - Method in class com.trilead.ssh2.Session
Inform other side of connection that our PTY has resized.
retrieveIdentities() - Method in interface com.trilead.ssh2.AuthAgentCallback
 
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.
RSASHA1Verify - Class in com.trilead.ssh2.signature
RSASHA1Verify.
RSASHA256Verify - Class in com.trilead.ssh2.signature
 
RSASHA512Verify - Class in com.trilead.ssh2.signature
 
run() - Method in class com.trilead.ssh2.channel.AuthAgentForwardThread
 
run() - Method in class com.trilead.ssh2.channel.DynamicAcceptThread
 
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

s2c_comp_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
s2c_enc_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
s2c_mac_algos - Variable in class com.trilead.ssh2.crypto.CryptoWishList
 
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
 
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[], int, int) - Method in class com.trilead.ssh2.transport.TransportConnection
 
sendMessage(byte[], int, int, int) - Method in class com.trilead.ssh2.transport.TransportConnection
 
sendMessage(byte[]) - Method in class com.trilead.ssh2.transport.TransportManager
 
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.
serverToClientCompressionAlgorithm - Variable in class com.trilead.ssh2.ConnectionInfo
The currently used compression algorithm for packets from the server to the client.
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.
setAgentLock(String) - Method in interface com.trilead.ssh2.AuthAgentCallback
 
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.
setCompression(boolean) - Method in class com.trilead.ssh2.Connection
Controls whether compression is used on the link or not.
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(byte[]) - Method in class com.trilead.ssh2.crypto.dh.Curve25519Exchange
 
setF(byte[]) - 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.
setF(byte[]) - Method in class com.trilead.ssh2.crypto.dh.EcDhExchange
 
setF(byte[]) - Method in class com.trilead.ssh2.crypto.dh.GenericDhExchange
 
setKeyExchangeAlgorithms(String[]) - Method in class com.trilead.ssh2.Connection
Define the set of allowed Key Exchange algorithms to be used for the following key exchange operations.
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.
setstat(String, SFTPv3FileAttributes) - Method in class com.trilead.ssh2.SFTPv3Client
Modify the attributes of a file.
setup() - Method in class com.trilead.ssh2.crypto.keys.Ed25519Provider
 
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, PrintStream) - Constructor for class com.trilead.ssh2.SFTPv3Client
Deprecated.
this constructor (debug version) will disappear in the future, use SFTPv3Client(Connection) instead.
SFTPv3Client(Connection) - Constructor for class com.trilead.ssh2.SFTPv3Client
Create a SFTP v3 client.
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 - Static variable in class com.trilead.ssh2.auth.SignatureProxy
 
SHA256 - Static variable in class com.trilead.ssh2.auth.SignatureProxy
 
SHA384 - Static variable in class com.trilead.ssh2.auth.SignatureProxy
 
SHA512 - Static variable in class com.trilead.ssh2.auth.SignatureProxy
 
sign(byte[], String) - Method in class com.trilead.ssh2.auth.SignatureProxy
This method should sign a given byte array message using the private key.
SignatureProxy - Class in com.trilead.ssh2.auth
 
SignatureProxy(PublicKey) - Constructor for class com.trilead.ssh2.auth.SignatureProxy
Instantiates a new SignatureProxy which needs a public key for the later authentication process.
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() - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
size() - Method in interface com.trilead.ssh2.crypto.digest.MAC
 
size - Variable in class com.trilead.ssh2.SFTPv3FileAttributes
The SIZE attribute.
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_EXT_INFO - 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
 
SSHSignature - Interface in com.trilead.ssh2.signature
 
startCompression() - Method in class com.trilead.ssh2.transport.TransportConnection
 
startCompression() - Method in class com.trilead.ssh2.transport.TransportManager
 
startRecording() - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
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.AuthAgentForwardThread
 
stopWorking() - Method in class com.trilead.ssh2.channel.DynamicAcceptThread
 
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
 
toString() - Method in class com.trilead.ssh2.KnownHosts.KnownHostsEntry
 
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.CBC
 
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.
uncompress(byte[], int, int[]) - Method in interface com.trilead.ssh2.compression.ICompressor
 
uncompress(byte[], int, int[]) - Method in class com.trilead.ssh2.compression.Zlib
 
unRegisterX11Cookie(String, boolean) - Method in class com.trilead.ssh2.channel.ChannelManager
 
update(byte[], int, int) - Method in class com.trilead.ssh2.crypto.digest.HMAC
 
update(byte[], int, int) - Method in interface com.trilead.ssh2.crypto.digest.MAC
 
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[], byte[], PublicKey) - Method in class com.trilead.ssh2.signature.DSASHA1Verify
 
verifySignature(byte[], byte[], PublicKey) - Method in class com.trilead.ssh2.signature.ECDSASHA2Verify
 
verifySignature(byte[], byte[], PublicKey) - Method in class com.trilead.ssh2.signature.Ed25519Verify
 
verifySignature(byte[], byte[], PublicKey) - Method in class com.trilead.ssh2.signature.RSASHA1Verify
 
verifySignature(byte[], byte[], PublicKey) - Method in class com.trilead.ssh2.signature.RSASHA256Verify
 
verifySignature(byte[], byte[], PublicKey) - Method in class com.trilead.ssh2.signature.RSASHA512Verify
 
verifySignature(byte[], byte[], PublicKey) - Method in interface com.trilead.ssh2.signature.SSHSignature
Verifies a SSH-format signature for a given key.

W

waitForCondition(Channel, long, int) - Method in class com.trilead.ssh2.channel.ChannelManager
Wait until for a condition.
waitForCondition(int, long) - Method in class com.trilead.ssh2.Session
This method blocks until certain conditions hold true on the underlying SSH-2 channel.
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
 
width - Variable in class com.trilead.ssh2.packets.PacketSessionPtyResize
 
windowChange - Variable in class com.trilead.ssh2.packets.PacketChannelWindowAdjust
 
write(int) - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
write(byte[], int, int) - Method in class com.trilead.ssh2.channel.ChannelOutputStream
 
write(byte[]) - 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.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, int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeByte(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(int) - Method in class com.trilead.ssh2.crypto.cipher.CipherOutputStream
 
writePlain(byte[], int, 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, int) - Method in class com.trilead.ssh2.packets.TypesWriter
 
writeUINT32(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
 

Z

Zlib - Class in com.trilead.ssh2.compression
 
Zlib() - Constructor for class com.trilead.ssh2.compression.Zlib
 
ZlibOpenSSH - Class in com.trilead.ssh2.compression
Defines how zlib@openssh.org compression works.
ZlibOpenSSH() - Constructor for class com.trilead.ssh2.compression.ZlibOpenSSH
 
A B C D E F G H I K L M N O P R S T U V W X Z 
Skip navigation links