Package com.trilead.ssh2
package com.trilead.ssh2
-
ClassDescriptionContains constants that can be used to specify what conditions to wait for on a SSH-2 channel (e.g., represented by a
Session
).AConnection
is used to establish an encrypted TCP/IP connection to a SSH-2 server.In most cases you probably do not need the information contained in here.AConnectionMonitor
is used to get notified when the underlying socket of a connection is closed.Deprecated.Logging all goes to JDK java.util.loggingADHGexParameters
object can be used to specify parameters for the diffie-hellman group exchange.This extends theServerHostKeyVerifier
interface by allowing the remote server to indicate it has multiple server key algorithms available.AHTTPProxyData
object is used to specify the needed connection data to connect through a HTTP proxy.May be thrown upon connect() if a HTTP proxy is being used.AnInteractiveCallback
is used to respond to challenges sent by the server if authentication mode "keyboard-interactive" is selected.The KnownHosts class is a handy tool to verify received server hostkeys based on the information inknown_hosts
files (the ones used by OpenSSH).ALocalPortForwarder
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).ALocalStreamForwarder
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).An abstract marker interface implemented by all proxy data implementations.CreatesSecureRandom
A very basicSCPClient
that can be used to copy files from/to the SSH-2 server.A callback interface used to implement a client specific method of checking server host keys.A Session is a remote execution of a program.Used in combination with the SFTPv3Client.ASFTPv3Client
represents a SFTP (protocol version 3) client connection tunnelled over a SSH-2 connection.ASFTPv3DirectoryEntry
as returned bySFTPv3Client.ls(String)
.ASFTPv3FileAttributes
object represents detail information about a file on the server.ASFTPv3FileHandle
.AStreamGobbler
is an InputStream that uses an internal worker thread to constantly consume input from another InputStream.