Uses of Class
com.maverick.ssh.SshException

Packages that use SshException
com.maverick.scp This package contains a Secure Copy (SCP) engine suitable for the lightweight J2SSH Maverick API. 
com.maverick.sftp The base implementation of the SFTP protocol enabling SFTP to be operated over both SSH1 and SSH2 connections.
 
com.maverick.ssh This package contains a set of general interface contracts for SSH communication that provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications. 
com.maverick.ssh.components This package contains an abstract cryptographic provider for the SSH protocol. 
com.maverick.ssh.components.jce This package contains a set of algoritm implementations that enable the Maverick API to use a Java Cryptography Extension provider. 
com.maverick.ssh.components.standalone This package contains a set of algoritm implementations that use an internal cryptographic provider. 
com.maverick.ssh1 This package contains an SSH1 implementation of the com.maverick.ssh interfaces. 
com.maverick.ssh2 This package contains an SSH2 implementation of the com.maverick.ssh interfaces. 
com.sshtools.net This package contains a set of network utilities for the J2SSH Maverick API. 
com.sshtools.publickey This package contains utility classes for loading/storing public/private keys and is based on the SSHTools key format architecture. 
com.sshtools.scp This package contains the SSHTools SCP implementation converted to use the J2SSH Maverick API's SCP engine. 
com.sshtools.sftp This package contains the SSHTools SFTP client converted for use with the J2SSH Maverick API. 
 

Uses of SshException in com.maverick.scp
 

Methods in com.maverick.scp that throw SshException
 void ScpClientIO.ScpEngineIO.close()
          Close the SCP engine and underlying session.
 java.io.InputStream ScpClientIO.get(java.lang.String remoteFile)
           Gets a remote file as a java.io.InputStream.
 java.io.InputStream ScpClientIO.get(java.lang.String remoteFile, FileTransferProgress progress)
           Gets a remote file as a java.io.InputStream.
 void ScpClientIO.put(java.io.InputStream in, long length, java.lang.String localFile, java.lang.String remoteFile)
           Uploads a java.io.InputStream to a remote server as a file.
 void ScpClientIO.put(java.io.InputStream in, long length, java.lang.String localFile, java.lang.String remoteFile, FileTransferProgress progress)
           Uploads a java.io.InputStream to a remote server as a file.
 

Constructors in com.maverick.scp that throw SshException
ScpClientIO.ScpEngineIO(java.lang.String cmd, SshSession session)
           Contruct the channel with the specified scp command.
 

Uses of SshException in com.maverick.sftp
 

Methods in com.maverick.sftp that throw SshException
 boolean SftpFile.canRead()
          Determine whether the user has read access to the file.
 boolean SftpFile.canWrite()
          Determine whether the user has write access to the file.
 void SftpSubsystemChannel.changePermissions(SftpFile file, int permissions)
          Change the permissions of a file.
 void SftpSubsystemChannel.changePermissions(java.lang.String filename, int permissions)
          Change the permissions of a file.
 void SftpSubsystemChannel.changePermissions(java.lang.String filename, java.lang.String permissions)
          Change the permissions of a file.
 void SftpFile.close()
          Close the file.
 void SftpSubsystemChannel.closeFile(SftpFile file)
          Close a file or directory.
 void SftpSubsystemChannel.createSymbolicLink(java.lang.String targetpath, java.lang.String linkpath)
          Create a symbolic link.
 void SftpFile.delete()
          Delete this file/directory from the remote server.
 java.lang.String SftpSubsystemChannel.getAbsolutePath(SftpFile file)
          Get the absolute path of a file.
 java.lang.String SftpSubsystemChannel.getAbsolutePath(java.lang.String path)
          Get the absolute path of a file.
 SftpFileAttributes SftpFile.getAttributes()
          Get the files attributes.
 SftpFileAttributes SftpSubsystemChannel.getAttributes(SftpFile file)
          Get the attributes of a file.
 SftpFileAttributes SftpSubsystemChannel.getAttributes(java.lang.String path)
          Get the attributes of a file.
 java.lang.String SftpSubsystemChannel.getDefaultDirectory()
          Gets the users default directory.
 SftpFile SftpSubsystemChannel.getFile(java.lang.String path)
          Utility method to obtain an SftpFile instance for a given path.
 void SftpSubsystemChannel.getOKRequestStatus(com.maverick.util.UnsignedInteger32 requestId)
          Verify that an OK status has been returned for a request id.
 SftpFile SftpFile.getParent()
          Get the parent of the current file.
 java.lang.String SftpSubsystemChannel.getSymbolicLinkTarget(java.lang.String linkpath)
          Get the target path of a symbolic link.
 void SftpSubsystemChannel.initialize()
          Initializes the sftp subsystem and negotiates a version with the server.
 boolean SftpFile.isBlock()
          Determine whether the file is pointing to a block special file.
 boolean SftpFile.isCharacter()
          Determine whether the file is pointing to a character mode device.
 boolean SftpFile.isDirectory()
          Determine whether the file object is pointing to a directory.
 boolean SftpFile.isFifo()
          Determine whether the file is pointing to a pipe.
 boolean SftpFile.isFile()
          Determine whether the file object is pointing to a file.
 boolean SftpFile.isLink()
          Determine whether the file object is a symbolic link.
 boolean SftpFile.isSocket()
          Determine whether the file is pointing to a socket.
 int SftpSubsystemChannel.listChildren(SftpFile file, java.util.Vector children)
          List the children of a directory.
 void SftpSubsystemChannel.makeDirectory(java.lang.String path)
          Make a directory.
 void SftpSubsystemChannel.makeDirectory(java.lang.String path, SftpFileAttributes attrs)
          Make a directory.
 SftpFile SftpSubsystemChannel.openDirectory(java.lang.String path)
          Open a directory.
 SftpFile SftpSubsystemChannel.openFile(java.lang.String absolutePath, int flags)
          Open a file.
 SftpFile SftpSubsystemChannel.openFile(java.lang.String absolutePath, int flags, SftpFileAttributes attrs)
          Open a file.
 void SftpSubsystemChannel.performOptimizedRead(byte[] handle, long length, int blocksize, java.io.OutputStream out, int outstandingRequests, FileTransferProgress progress)
          Performs an optimized read of a file through use of asynchronous messages.
 void SftpSubsystemChannel.performOptimizedRead(byte[] handle, long length, int blocksize, java.io.OutputStream out, int outstandingRequests, FileTransferProgress progress, long position)
          Performs an optimized read of a file through use of asynchronous messages.
 void SftpSubsystemChannel.performOptimizedWrite(byte[] handle, int blocksize, int outstandingRequests, java.io.InputStream in, int buffersize, FileTransferProgress progress)
          Performs an optimized write of a file through asynchronous messaging and through buffering the local file into memory.
 void SftpSubsystemChannel.performOptimizedWrite(byte[] handle, int blocksize, int outstandingRequests, java.io.InputStream in, int buffersize, FileTransferProgress progress, long position)
          Performs an optimized write of a file through asynchronous messaging and through buffering the local file into memory.
 void SftpSubsystemChannel.performSynchronousRead(byte[] handle, int blocksize, java.io.OutputStream out, FileTransferProgress progress, long position)
          Perform a synchronous read of a file from the remote file system.
 com.maverick.util.UnsignedInteger32 SftpSubsystemChannel.postReadRequest(byte[] handle, long offset, int len)
          Post a read request to the server and return the request id; this is used to optimize file downloads.
 com.maverick.util.UnsignedInteger32 SftpSubsystemChannel.postWriteRequest(byte[] handle, long position, byte[] data, int off, int len)
          Send a write request for an open file but do not wait for the response from the server.
 int SftpSubsystemChannel.readFile(byte[] handle, com.maverick.util.UnsignedInteger64 offset, byte[] output, int off, int len)
          Read a block of data from an open file.
 void SftpSubsystemChannel.recurseMakeDirectory(java.lang.String path)
          Recurse through a hierarchy of directories creating them as necessary.
 void SftpSubsystemChannel.removeDirectory(java.lang.String path)
          Remove an empty directory.
 void SftpSubsystemChannel.removeFile(java.lang.String filename)
          Remove a file.
 void SftpSubsystemChannel.renameFile(java.lang.String oldpath, java.lang.String newpath)
          Rename an existing file.
 SftpMessage SftpSubsystemChannel.sendExtensionMessage(java.lang.String request, byte[] requestData)
          Send an extension message and return the response.
 void SftpSubsystemChannel.setAttributes(SftpFile file, SftpFileAttributes attrs)
          Sets the attributes of a file.
 void SftpSubsystemChannel.setAttributes(java.lang.String path, SftpFileAttributes attrs)
          Sets the attributes of a file.
 void SftpSubsystemChannel.setCharsetEncoding(java.lang.String charset)
          Allows the default character encoding to be overriden for filename strings.
 void SftpSubsystemChannel.writeFile(byte[] handle, com.maverick.util.UnsignedInteger64 offset, byte[] data, int off, int len)
          Write a block of data to an open file.
 

Constructors in com.maverick.sftp that throw SshException
SftpFileInputStream(SftpFile file)
           
SftpFileInputStream(SftpFile file, long position)
          Creates a new SftpFileInputStream object.
SftpFileOutputStream(SftpFile file)
          Creates a new SftpFileOutputStream object.
SftpSubsystemChannel(SshSession session)
           
SftpSubsystemChannel(SshSession session, int Max_Version)
           
 

Uses of SshException in com.maverick.ssh
 

Methods in com.maverick.ssh that return SshException
 SshException SshIOException.getRealException()
          Get the real exception
 

Methods in com.maverick.ssh that throw SshException
 int SshClient.authenticate(SshAuthentication auth)
          Authenticate the user.
 boolean SshClient.cancelRemoteForwarding(java.lang.String bindAddress, int bindPort)
          Cancel a forwarding request.
 void SshSession.changeTerminalDimensions(int cols, int rows, int width, int height)
          Change the dimensions of the terminal window.
 void SshClient.connect(SshTransport transport, SshContext context, SshConnector connector, java.lang.String username, java.lang.String localIdentification, java.lang.String remoteIdentification, boolean buffered)
          Connect to an SSH server.
 SshClient SshConnector.connect(SshTransport transport, java.lang.String username)
          Create a new connection to an SSH server over the specified transport.
 SshClient SshConnector.connect(SshTransport transport, java.lang.String username, boolean buffered)
          See SshConnector.connect(SshTransport, String) for full details.
 SshClient SshConnector.connect(SshTransport transport, java.lang.String username, boolean buffered, SshContext context)
          See SshConnector.connect(SshTransport, String) for full details.
 SshClient SshConnector.connect(SshTransport transport, java.lang.String username, SshContext context)
          See SshConnector.connect(SshTransport, String) for full details.
 SshTransport ForwardingRequestListener.createConnection(java.lang.String hostToConnect, int portToConnect)
          Create a connection to the specified host.
 void Shell.createSession()
          Construct a new scripted session ready for command execution.
 void Shell.createSession(java.lang.String term, int cols, int rows)
          Construct a new scripted session ready for command execution.
 int SshConnector.determineVersion(SshTransport transport)
          Determine the version of the server connected to the SshTransport.
 SshClient SshClient.duplicate()
          Create an identical version of an SshClient using cached authentication information and the SshTransport duplicate method.
 java.lang.String CommandExecutor.executeCommand(java.lang.String cmd)
          Deprecated.  
 boolean SshSession.executeCommand(java.lang.String cmd)
          Execute a command.
 boolean SshSession.executeCommand(java.lang.String cmd, java.lang.String charset)
          Execute a command.
 void Client.exit()
           
 SshContext SshConnector.getContext(int version)
          Get the configuration context for a specific SSH version.
static java.lang.String SshKeyFingerprint.getFingerprint(byte[] encoded)
          Generate an SSH key fingerprint as defined in draft-ietf-secsh-fingerprint-00.txt.
static java.lang.String SshKeyFingerprint.getFingerprint(byte[] encoded, java.lang.String algorithm)
          Generate an SSH key fingerprint with a specific algorithm.
static SshConnector SshConnector.getInstance()
          Returns an instance of the SshConnector.
 byte[] SshContext.getX11AuthenticationCookie()
          Get a fake random cookie for X11 authentication
 byte[] SshContext.getX11RealCookie()
          Get the real X11 authentication cookie, if not cookie has been set the fake cookie will be returned.
 void Shell.initializePrompt()
           
 void Shell.initializeSession(java.lang.String term, int cols, int rows)
           
 byte[] SubsystemChannel.nextMessage()
          Read a subsystem message from the channel inputstream.
 SshTunnel SshClient.openForwardingChannel(java.lang.String hostname, int port, java.lang.String listeningAddress, int listeningPort, java.lang.String originatingHost, int originatingPort, SshTransport transport, ChannelEventListener listener)
          Open a TCPIP forwarding channel to the remote computer.
 SshClient SshClient.openRemoteClient(java.lang.String hostname, int port, java.lang.String username)
          Open up an SSH client from the remote machine to another remote server.
 SshClient SshClient.openRemoteClient(java.lang.String hostname, int port, java.lang.String username, SshConnector con)
          Open up an SSH client from the remote machine to another remote server.
 SshSession SshClient.openSessionChannel()
          Open a session on the remote computer.
 SshSession SshClient.openSessionChannel(ChannelEventListener listener)
          Open a session on the remote computer.
 boolean SshSession.requestPseudoTerminal(java.lang.String term, int cols, int rows, int width, int height)
          The remote process may require a pseudo terminal.
 boolean SshSession.requestPseudoTerminal(java.lang.String term, int cols, int rows, int width, int height, byte[] modes)
          The remote process may require a pseudo terminal.
 boolean SshSession.requestPseudoTerminal(java.lang.String term, int cols, int rows, int width, int height, PseudoTerminalModes terminalModes)
          The remote process may require a pseudo terminal.
 boolean SshClient.requestRemoteForwarding(java.lang.String bindAddress, int bindPort, java.lang.String hostToConnect, int portToConnect, ForwardingRequestListener listener)
          Requests that the remote computer accepts socket connections and forward them to the local computer.
protected  void SubsystemChannel.sendMessage(byte[] msg)
          Deprecated. This has changed internally to use a Packet and it is recommended that all implementations change to use Packet's as they provide a more efficent way of sending data.
protected  void SubsystemChannel.sendMessage(Packet msg)
          Write a subsystem message to the channel outputstream.
 void SshConnector.setSupportedVersions(int supported)
          Sets the protocol versions supported by this connector.
 void PseudoTerminalModes.setTerminalMode(int mode, boolean value)
          Set a boolean value mode
 void PseudoTerminalModes.setTerminalMode(int mode, int value)
          Set an integer value mode
 boolean SshSession.startShell()
          Start the users default shell.
 boolean HostKeyVerification.verifyHost(java.lang.String host, SshPublicKey pk)
          Verify that the public key is acceptable for the host.
 

Constructors in com.maverick.ssh with parameters of type SshException
SshIOException(SshException realEx)
          Construct the exception with the real exception.
 

Constructors in com.maverick.ssh that throw SshException
CommandExecutor(SshSession session, java.lang.String eol, java.lang.String promptCmd, java.lang.String prompt, java.lang.String encoding)
          Deprecated.  
SubsystemChannel(SshChannel channel)
          Create a new subsystem channel.
 

Uses of SshException in com.maverick.ssh.components
 

Methods in com.maverick.ssh.components that throw SshException
 java.lang.String ComponentFactory.changePositionofAlgorithm(java.lang.String name, int position)
           
abstract  SshDsaPrivateKey ComponentManager.createDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
          Create an instance of a DSA private key.
abstract  SshDsaPublicKey ComponentManager.createDsaPublicKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger y)
          Create an instance of a DSA public key.
 java.lang.String ComponentFactory.createNewOrdering(int[] ordering)
           
abstract  SshRsaPrivateCrtKey ComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
          Create an instance of an RSA co-effecient private key.
abstract  SshRsaPrivateCrtKey ComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
          Create an instance of an RSA co-efficent private key.
abstract  SshRsaPrivateKey ComponentManager.createRsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
          Create an instance of an RSA private key.
abstract  SshRsaPublicKey ComponentManager.createRsaPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, int version)
          Create an instance of an RSA public key.
abstract  SshRsaPublicKey ComponentManager.createSsh2RsaPublicKey()
          Create an instance of an SSH2 RSA public key.
 java.math.BigInteger SshRsaPrivateCrtKey.doPrivate(java.math.BigInteger input)
           
 java.math.BigInteger SshRsaPublicKey.doPublic(java.math.BigInteger input)
           
abstract  SshKeyPair ComponentManager.generateDsaKeyPair(int bits)
          Generate a new DSA public/private key pair.
abstract  SshKeyPair ComponentManager.generateRsaKeyPair(int bits, int version)
          Generate an RSA public/private pair.
 byte[] SshPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 java.lang.String SshPublicKey.getFingerprint()
          Return an SSH fingerprint of the public key
 java.lang.Object ComponentFactory.getInstance(java.lang.String name)
          Get a new instance of a supported component.
abstract  SshSecureRandomGenerator ComponentManager.getRND()
          Get the secure random number generator.
protected  void ComponentManager.init()
           
 void SshHmac.init(byte[] keydata)
           
 void SshPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SshSecureRandomGenerator.nextBytes(byte[] bytes, int off, int len)
           
abstract  void SshKeyExchangeClient.performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit)
          Override to perform the client side key exchange.
 boolean SshPublicKey.verifySignature(byte[] signature, byte[] data)
          Verify the signature.
 

Uses of SshException in com.maverick.ssh.components.jce
 

Methods in com.maverick.ssh.components.jce that throw SshException
protected  void DiffieHellmanGroup14Sha1.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroup1Sha1.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroupExchangeSha1.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
 SshDsaPrivateKey JCEComponentManager.createDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
           
 SshDsaPublicKey JCEComponentManager.createDsaPublicKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger y)
           
 SshRsaPrivateCrtKey JCEComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
           
 SshRsaPrivateCrtKey JCEComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
           
 SshRsaPrivateKey JCEComponentManager.createRsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
           
 SshRsaPublicKey JCEComponentManager.createRsaPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, int version)
           
 SshRsaPublicKey JCEComponentManager.createSsh2RsaPublicKey()
           
 java.math.BigInteger Ssh2RsaPrivateCrtKey.doPrivate(java.math.BigInteger input)
           
 java.math.BigInteger Ssh2RsaPublicKey.doPublic(java.math.BigInteger input)
           
 SshKeyPair JCEComponentManager.generateDsaKeyPair(int bits)
           
 SshKeyPair JCEComponentManager.generateRsaKeyPair(int bits, int version)
           
 byte[] Ssh2DsaPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 byte[] Ssh2RsaPublicKey.getEncoded()
           
 byte[] SshX509DsaPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 byte[] Ssh1RsaPublicKey.getEncoded()
          Get the encoded format required by SSH1
 byte[] SshX509RsaPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 byte[] SshX509RsaSha1PublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 java.lang.String Ssh2DsaPublicKey.getFingerprint()
           
 java.lang.String Ssh2RsaPublicKey.getFingerprint()
           
 SshSecureRandomGenerator JCEComponentManager.getRND()
           
 void HmacSha256.init(byte[] keydata)
           
 void HmacSha512.init(byte[] keydata)
           
 void HmacSha196.init(byte[] keydata)
           
 void AbstractHmac.init(byte[] keydata)
           
 void HmacSha1.init(byte[] keydata)
           
 void Ssh2DsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void Ssh2RsaPublicKey.init(byte[] blob, int start, int len)
           
 void SshX509DsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SshX509RsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SshX509RsaSha1PublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SecureRND.nextBytes(byte[] bytes, int off, int len)
           
 void DiffieHellmanGroup14Sha1.performClientExchange(java.lang.String clientIdentification, java.lang.String serverIdentification, byte[] clientKexInit, byte[] serverKexInit)
           
 void DiffieHellmanGroup1Sha1.performClientExchange(java.lang.String clientIdentification, java.lang.String serverIdentification, byte[] clientKexInit, byte[] serverKexInit)
           
 void DiffieHellmanGroupExchangeSha1.performClientExchange(java.lang.String clientIdentification, java.lang.String serverIdentification, byte[] clientKexInit, byte[] serverKexInit)
          The client requests a modulus from the server indicating the pre- ferred size.
 boolean Ssh2DsaPublicKey.verifySignature(byte[] signature, byte[] data)
          Verify the signature.
 boolean Ssh2RsaPublicKey.verifySignature(byte[] signature, byte[] data)
           
 

Constructors in com.maverick.ssh.components.jce that throw SshException
Ssh2DsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
           
 

Uses of SshException in com.maverick.ssh.components.standalone
 

Methods in com.maverick.ssh.components.standalone that throw SshException
protected  void DiffieHellmanGroup14Sha1.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroup1Sha1.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroupExchangeSha1.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
 SshRsaPublicKey StandaloneComponentManager.createSsh2RsaPublicKey()
           
 byte[] Ssh2DsaPublicKey.getEncoded()
          Returns the key encoded into a byte array as defined in the SSH Transport Protocol.
 byte[] Ssh2RsaPublicKey.getEncoded()
           
 byte[] Ssh1RsaPublicKey.getEncoded()
          Get the encoded format required by SSH1
 java.lang.String Ssh2DsaPublicKey.getFingerprint()
           
 java.lang.String Ssh2RsaPublicKey.getFingerprint()
           
 java.lang.String Ssh1RsaPublicKey.getFingerprint()
           
 void SHA1HMac96.init(byte[] keydata)
           
 void SHA1HMac.init(byte[] keydata)
           
 void AbstractHmac.init(byte[] keydata)
          Initialize the MAC
 void Ssh2DsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from an SSH2 key blob
 void Ssh2RsaPublicKey.init(byte[] blob, int start, int len)
           
 void DiffieHellmanGroup14Sha1.performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit)
           Performs the client side of the key exchange.
 void DiffieHellmanGroup1Sha1.performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit)
          Performs the client side of the key exchange.
 void DiffieHellmanGroupExchangeSha1.performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit)
          The client requests a modulus from the server indicating the pre- ferred size.
 

Uses of SshException in com.maverick.ssh1
 

Methods in com.maverick.ssh1 that throw SshException
 int Ssh1Client.authenticate(SshAuthentication auth)
           
 boolean Ssh1Client.cancelRemoteForwarding(java.lang.String bindAddress, int bindPort)
          The bindAddress is ignored since the SSH1 protocol does not support setting of the bind address.
 void Ssh1Client.connect(SshTransport transport, SshContext context, SshConnector connector, java.lang.String username, java.lang.String localIdentification, java.lang.String remoteIdentification, boolean buffered)
           
 SshCipher Ssh1Context.createCipher(int cipherType)
           
 SshClient Ssh1Client.duplicate()
           
 int Ssh1Context.getCipherType(int supportedCiphers)
          Get the cipher type for this configuration context.
 byte[] Ssh1Context.getX11AuthenticationCookie()
           
 byte[] Ssh1Context.getX11RealCookie()
           
 SshTunnel Ssh1Client.openForwardingChannel(java.lang.String hostname, int port, java.lang.String listeningAddress, int listeningPort, java.lang.String originatingHost, int originatingPort, SshTransport transport, ChannelEventListener listener)
           
 SshClient Ssh1Client.openRemoteClient(java.lang.String hostname, int port, java.lang.String username)
           
 SshClient Ssh1Client.openRemoteClient(java.lang.String hostname, int port, java.lang.String username, SshConnector con)
           
 SshSession Ssh1Client.openSessionChannel()
          Opens the one and only session channel available on an SSH1 connection, calling this method multiple times on the same client instance will return the same session instance.
 SshSession Ssh1Client.openSessionChannel(ChannelEventListener listener)
           
 boolean Ssh1Client.requestRemoteForwarding(java.lang.String bindAddress, int bindPort, java.lang.String hostToConnect, int portToConnect, ForwardingRequestListener listener)
          The bindAddress is ignored since the SSH1 protocol does not support setting of the bind address.
 boolean Ssh1Client.requestXForwarding(java.lang.String display, ForwardingRequestListener listener)
           
 

Uses of SshException in com.maverick.ssh2
 

Methods in com.maverick.ssh2 that throw SshException
 void Ssh2Client.addChannelFactory(ChannelFactory factory)
          Installs a custom channel factory so that the client may respond to channel open requests.
 void Ssh2Client.addRequestHandler(GlobalRequestHandler handler)
          Installs a global request handler so that the client may respond to global requests.
 int AuthenticationProtocol.authenticate(AuthenticationClient auth, java.lang.String servicename)
          Authenticate using the mechanism provided.
 void Ssh2HostbasedAuthentication.authenticate(AuthenticationProtocol authentication, java.lang.String servicename)
           
 void AuthenticationClient.authenticate(AuthenticationProtocol authentication, java.lang.String servicename)
          Perform the authentication according to the specification.
 void Ssh2PasswordAuthentication.authenticate(AuthenticationProtocol authentication, java.lang.String servicename)
          Implementation of the authentication method.
 void KBIAuthentication.authenticate(AuthenticationProtocol authentication, java.lang.String servicename)
           
 void Ssh2PublicKeyAuthentication.authenticate(AuthenticationProtocol authentication, java.lang.String servicename)
           
 int Ssh2Client.authenticate(SshAuthentication auth)
           
 boolean Ssh2Client.cancelRemoteForwarding(java.lang.String bindAddress, int bindPort)
           
 void Ssh2Session.changeTerminalDimensions(int cols, int rows, int width, int height)
           
protected  void Ssh2Session.channelRequest(java.lang.String requesttype, boolean wantreply, byte[] requestdata)
          This overidden method handles the "exit-status", "exit-signal" and "xon-xoff" channel requests.
protected  void Ssh2Channel.channelRequest(java.lang.String requesttype, boolean wantreply, byte[] requestdata)
          Called when a channel request is received, by default this method sends a failure message if the remote side requests a reply.
 void Ssh2Client.connect(SshTransport io, SshContext context, SshConnector connector, java.lang.String username, java.lang.String localIdentification, java.lang.String remoteIdentification, boolean buffered)
           
 Ssh2Channel ChannelFactory.createChannel(java.lang.String channeltype, byte[] requestdata)
          Create an instance of an SSH channel.
 void Ssh2Context.disableCompression()
           
 SshClient Ssh2Client.duplicate()
           
 void Ssh2Context.enableCompression()
           
 boolean Ssh2Session.executeCommand(java.lang.String cmd)
           
 boolean Ssh2Session.executeCommand(java.lang.String cmd, java.lang.String charset)
           
 void Ssh2Client.forceKeyExchange()
          The SSH transport protocol exchanges keys at the beginning of the session; the specification recommends that these keys be re-exchanged after each gigabyte of transmitted data or after each hour of connection time, whichever comes sooner.
 java.lang.String[] Ssh2Client.getAuthenticationMethods(java.lang.String username)
          Get a list of authentication methods for the user.
 java.lang.String AuthenticationProtocol.getAuthenticationMethods(java.lang.String username, java.lang.String servicename)
          Get a list of available authentication methods for the user.
protected  com.maverick.ssh.message.SshMessageStore Ssh2Channel.getMessageStore()
           
 byte[] Ssh2Context.getX11AuthenticationCookie()
           
 byte[] Ssh2Context.getX11RealCookie()
           
 byte[] TransportProtocol.nextMessage()
          Get the next message.
 void Ssh2Client.openChannel(Ssh2Channel channel, byte[] requestdata)
          Additional method to open a custom SSH2 channel.
 void Ssh2Client.openChannel(com.maverick.ssh.message.SshAbstractChannel channel)
          Additional method to open a custom SSH2 channel.
 SshTunnel Ssh2Client.openForwardingChannel(java.lang.String hostname, int port, java.lang.String listeningAddress, int listeningPort, java.lang.String originatingHost, int originatingPort, SshTransport transport, ChannelEventListener listener)
           
 SshClient Ssh2Client.openRemoteClient(java.lang.String hostname, int port, java.lang.String username)
           
 SshClient Ssh2Client.openRemoteClient(java.lang.String hostname, int port, java.lang.String username, SshConnector con)
           
 SshSession Ssh2Client.openSessionChannel()
           
 SshSession Ssh2Client.openSessionChannel(ChannelEventListener listener)
           
 Ssh2Session Ssh2Client.openSessionChannel(int windowspace, int packetsize, ChannelEventListener listener)
          Additional method to open a session with SSH2 specific features.
protected  boolean Ssh2Channel.processChannelMessage(com.maverick.ssh.message.SshChannelMessage msg)
          Processes channel request messages by passing the request through to channelRequest().
protected  void Ssh2Session.processExtendedData(int typecode, byte[] buf, int offset, int len)
           
protected  void Ssh2Channel.processExtendedData(int typecode, byte[] buf, int offset, int len)
          Called when extended data arrives.
 boolean GlobalRequestHandler.processGlobalRequest(GlobalRequest request)
          Called when a supported global request has been recieved.
 boolean TransportProtocol.processMessage(byte[] msg)
          Process a message.
protected  void Ssh2Channel.processStandardData(byte[] buf, int offset, int len)
          Called when channel data arrives, by default this method makes the data available in the channels InputStream.
 byte[] AuthenticationProtocol.readMessage()
          Read a message from the underlying transport layer.
 boolean Ssh2Session.requestPseudoTerminal(java.lang.String term, int cols, int rows, int width, int height)
           
 boolean Ssh2Session.requestPseudoTerminal(java.lang.String term, int cols, int rows, int width, int height, byte[] modes)
           
 boolean Ssh2Session.requestPseudoTerminal(java.lang.String term, int cols, int rows, int width, int height, PseudoTerminalModes terminalModes)
           
 boolean Ssh2Client.requestRemoteForwarding(java.lang.String bindAddress, int bindPort, java.lang.String hostToConnect, int portToConnect, ForwardingRequestListener listener)
           
 boolean Ssh2Client.sendGlobalRequest(GlobalRequest request, boolean wantreply)
          Sends a global request to the remote side.
 void AuthenticationProtocol.sendMessage(byte[] messg)
           
 void TransportProtocol.sendMessage(byte[] msgdata, boolean isActivity)
          Send a transport protocol message.
 boolean Ssh2Channel.sendRequest(java.lang.String requesttype, boolean wantreply, byte[] requestdata)
          Sends a channel request.
 boolean Ssh2Channel.sendRequest(java.lang.String requesttype, boolean wantreply, byte[] requestdata, boolean isActivity)
          Sends a channel request.
 void AuthenticationProtocol.sendRequest(java.lang.String username, java.lang.String servicename, java.lang.String methodname, byte[] requestdata)
          Send an authentication request.
 void Ssh2Context.setCipherPreferredPositionCS(java.lang.String name, int position)
           
 void Ssh2Context.setCipherPreferredPositionSC(java.lang.String name, int position)
           
 boolean Ssh2Session.setEnvironmentVariable(java.lang.String name, java.lang.String value)
          The SSH2 session supports the setting of environments variables however in our experiance no server to date allows unconditional setting of variables.
 void Ssh2Context.setKeyExchangePreferredPosition(java.lang.String name, int position)
           
 void Ssh2Context.setMacPreferredPositionCS(java.lang.String name, int position)
           
 void Ssh2Context.setMacPreferredPositionSC(java.lang.String name, int position)
           
 void Ssh2Context.setPreferredCipherCS(int[] order)
          Set the preferred SC cipher order
 void Ssh2Context.setPreferredCipherCS(java.lang.String name)
          Set the preferred cipher for the Client->Server stream.
 void Ssh2Context.setPreferredCipherSC(int[] order)
          Set the preferred SC cipher order
 void Ssh2Context.setPreferredCipherSC(java.lang.String name)
          Set the preferred cipher for the Server->Client stream.
 void Ssh2Context.setPreferredCompressionCS(java.lang.String name)
          Set the preferred compression for the Client->Server stream.
 void Ssh2Context.setPreferredCompressionSC(java.lang.String name)
          Set the preferred compression for the Server->Client stream.
 void Ssh2Context.setPreferredKeyExchange(java.lang.String name)
          Set the preferred key exchange method.
 void Ssh2Context.setPreferredMacCS(int[] order)
          Set the preferred CS Mac order
 void Ssh2Context.setPreferredMacCS(java.lang.String name)
          Set the preferred mac for the Client->Server stream.
 void Ssh2Context.setPreferredMacSC(int[] order)
          Set the preferred SC Mac order
 void Ssh2Context.setPreferredMacSC(java.lang.String name)
          Set the preferred mac for the Server->Client stream.
 void Ssh2Context.setPreferredPublicKey(java.lang.String name)
          Set the preferred public key algorithm.
 void Ssh2Context.setPublicKeyPreferredPosition(java.lang.String name, int position)
           
 byte[] SignatureGenerator.sign(SshPublicKey key, byte[] data)
          Sign the data using the private key of the public key provided.
 void Ssh2Session.signal(java.lang.String signal)
          Send a signal to the remote process.
 void TransportProtocol.startService(java.lang.String servicename)
          Request that the remote server starts a transport protocol service.
 boolean Ssh2Session.startShell()
           
 boolean Ssh2Session.startSubsystem(java.lang.String subsystem)
          SSH2 supports special subsystems that are identified by a name rather than a command string, an example of an SSH2 subsystem is SFTP.
 void TransportProtocol.startTransportProtocol(SshTransport provider, Ssh2Context context, java.lang.String localIdentification, java.lang.String remoteIdentification, Ssh2Client client)
          Starts the protocol on the provider.
 

Constructors in com.maverick.ssh2 that throw SshException
AuthenticationProtocol(TransportProtocol transport)
          Construct the protocol using the given transport
Ssh2Context()
          Contructs a default context
 

Uses of SshException in com.sshtools.net
 

Methods in com.sshtools.net that throw SshException
 void ForwardingClient.allowX11Forwarding(java.lang.String display)
          Configure the forwarding client to manage X11 connections.
 void ForwardingClient.allowX11Forwarding(java.lang.String display, java.io.File f)
          Configure the forwarding client to manage X11 connections.
 void ForwardingClient.allowX11Forwarding(java.lang.String display, java.lang.String magicCookie)
          Configure the forwarding client to manage X11 connections.
 void ForwardingClient.cancelAllRemoteForwarding()
          Stop all remote forwarding
 void ForwardingClient.cancelAllRemoteForwarding(boolean killActiveTunnels)
          Stop all remote forwarding.
 void ForwardingClient.cancelRemoteForwarding(java.lang.String bindAddress, int bindPort)
          Requests that the remote side stop listening for socket connections.
 void ForwardingClient.cancelRemoteForwarding(java.lang.String bindAddress, int bindPort, boolean killActiveTunnels)
          Requests that the remote side stop listening for socket connections.
 void ForwardingClient.exit()
           
 boolean ForwardingClient.requestRemoteForwarding(java.lang.String addressToBind, int portToBind, java.lang.String hostToConnect, int portToConnect)
          Requests that the remote side start listening for socket connections so that they may be forwarded to to the local destination.
 void ForwardingClient.startLocalForwarding(java.lang.String addressToBind, int portToBind, java.lang.String hostToConnect, int portToConnect)
          Start's a local listening socket and forwards any connections made to the to the remote side.
 int ForwardingClient.startLocalForwardingOnRandomPort(java.lang.String addressToBind, int maxFailedPorts, java.lang.String hostToConnect, int portToConnect)
          Start's a local listening socket and forwards any connections made to the to the remote side.
 void ForwardingClient.stopAllLocalForwarding()
          Stop all local forwarding
 void ForwardingClient.stopAllLocalForwarding(boolean killActiveTunnels)
          Stop all local forwarding
 void ForwardingClient.stopLocalForwarding(java.lang.String key, boolean killActiveTunnels)
          Stop a local listening socket from accepting connections.
 void ForwardingClient.stopLocalForwarding(java.lang.String bindAddress, int bindPort)
          Stops a local listening socket from accepting connections.
 void ForwardingClient.stopLocalForwarding(java.lang.String bindAddress, int bindPort, boolean killActiveTunnels)
          Stops a local listening socket from accepting connections.
 

Uses of SshException in com.sshtools.publickey
 

Methods in com.sshtools.publickey that throw SshException
 void PublicKeySubsystem.add(SshPublicKey key, java.lang.String comment)
          Add a public key to the users list of acceptable keys.
 void AbstractKnownHostsKeyVerification.allowHost(java.lang.String host, SshPublicKey pk, boolean always)
           Allows a host key, optionally recording the key to the known_hosts file.
 void PublicKeySubsystem.associateCommand(SshPublicKey key, java.lang.String command)
          Associate a command with an accepted public key.
static SshKeyPair SshKeyPairGenerator.generateKeyPair(java.lang.String algorithm, int bits)
          Generates a new key pair.
 SshPublicKey[] PublicKeySubsystem.list()
          List all of the users acceptable keys.
abstract  void AbstractKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host, SshPublicKey allowedHostKey, SshPublicKey actualHostKey)
           Called by the verifyHost method when the host key supplied by the host does not match the current key recording in the known hosts file.
protected  void AbstractKnownHostsKeyVerification.onInvalidHostEntry(java.lang.String entry)
           
protected  void ConsoleKnownHostsKeyVerification.onInvalidHostEntry(java.lang.String entry)
           
abstract  void AbstractKnownHostsKeyVerification.onUnknownHost(java.lang.String host, SshPublicKey key)
           Called by the verifyHost method when the host key supplied is not recorded in the known_hosts file.
 void PublicKeySubsystem.remove(SshPublicKey key)
          Remove a public key from the users list of acceptable keys.
 boolean AbstractKnownHostsKeyVerification.verifyHost(java.lang.String host, SshPublicKey pk)
           Verifies a host key against the list of known_hosts.
 

Constructors in com.sshtools.publickey that throw SshException
AbstractKnownHostsKeyVerification()
          Construct a known_hosts database based on the default path of ~/.ssh/known_hosts.
AbstractKnownHostsKeyVerification(java.lang.String knownhosts)
           Constructs a known_hosts database based on the path provided.
ConsoleKnownHostsKeyVerification()
           Constructs the verification instance with the default known_hosts file from $HOME/.ssh/known_hosts.
ConsoleKnownHostsKeyVerification(java.lang.String knownhosts)
           Constructs the verification instance with the specified known_hosts file.
PublicKeySubsystem(Ssh2Session session)
           
 

Uses of SshException in com.sshtools.scp
 

Methods in com.sshtools.scp that throw SshException
 void ScpClient.exit()
           
 void ScpClient.get(java.lang.String localDir, java.lang.String[] remoteFiles, boolean recursive)
           Downloads an array of remote files to the local computer.
 void ScpClient.get(java.lang.String localFile, java.lang.String[] remoteFiles, boolean recursive, FileTransferProgress progress)
           
 void ScpClient.get(java.lang.String localFile, java.lang.String remoteFile, boolean recursive)
           Downloads a remote file onto the local computer.
 void ScpClient.get(java.lang.String localFile, java.lang.String remoteFile, boolean recursive, FileTransferProgress progress)
           
 void ScpClient.put(java.lang.String[] localFiles, java.lang.String remoteFile, boolean recursive)
           Uploads an array of local files onto the remote server.
 void ScpClient.put(java.lang.String[] localFiles, java.lang.String remoteFile, boolean recursive, FileTransferProgress progress)
           Uploads an array of local files onto the remote server.
 void ScpClient.put(java.lang.String localFile, java.lang.String remoteFile, boolean recursive)
           Uploads a local file onto the remote server.
 void ScpClient.put(java.lang.String localFileRegExp, java.lang.String remoteFile, boolean recursive, FileTransferProgress progress)
          pattern matches the files in the local directory using "local" as a glob Regular Expression.
 void ScpClient.putFile(java.lang.String localFile, java.lang.String remoteFile, boolean recursive, FileTransferProgress progress, boolean remoteIsDir)
           
 

Constructors in com.sshtools.scp that throw SshException
ScpClient.ScpEngine(java.lang.String cmd, SshSession session)
           Contruct the channel with the specified scp command.
 

Uses of SshException in com.sshtools.sftp
 

Methods in com.sshtools.sftp that throw SshException
 void SftpClient.cd(java.lang.String dir)
           Changes the working directory on the remote server, or the user's default directory if null or any empty string is provided as the directory path.
 void SftpClient.cdup()
          Change the working directory to the parent directory
 void SftpClient.chgrp(java.lang.String gid, java.lang.String path)
           Sets the group ID for the file or directory.
 void SftpClient.chmod(int permissions, java.lang.String path)
           Changes the access permissions or modes of the specified file or directory.
 void SftpClient.chown(java.lang.String uid, java.lang.String path)
           Sets the user ID to owner for the file or directory.
 DirectoryOperation SftpClient.copyLocalDirectory(java.lang.String localdir, java.lang.String remotedir, boolean recurse, boolean sync, boolean commit, FileTransferProgress progress)
          Copy the contents of a local directory into a remote directory.
 DirectoryOperation SftpClient.copyRemoteDirectory(java.lang.String remotedir, java.lang.String localdir, boolean recurse, boolean sync, boolean commit, FileTransferProgress progress)
          Copy the contents of a remote directory to a local directory
 void SftpClient.exit()
           Close the SFTP client.
static java.lang.String SftpClient.formatLongname(SftpFile file)
          Format a String with the details of the file.
 SftpFileAttributes SftpClient.get(java.lang.String path)
           Download the remote file to the local computer
 SftpFileAttributes SftpClient.get(java.lang.String path, boolean resume)
           Download the remote file to the local computer
 SftpFileAttributes SftpClient.get(java.lang.String path, FileTransferProgress progress)
           Download the remote file to the local computer.
 SftpFileAttributes SftpClient.get(java.lang.String path, FileTransferProgress progress, boolean resume)
           Download the remote file to the local computer.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.io.OutputStream local)
          Download the remote file into an OutputStream.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.io.OutputStream local, FileTransferProgress progress)
           Download the remote file writing it to the specified OutputStream.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.io.OutputStream local, FileTransferProgress progress, long position)
           Download the remote file writing it to the specified OutputStream.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.io.OutputStream local, long position)
          Download the remote file into an OutputStream.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.lang.String local)
          Download the remote file into the local file.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.lang.String local, boolean resume)
          Download the remote file into the local file.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.lang.String local, FileTransferProgress progress)
           Download the remote file to the local computer.
 SftpFileAttributes SftpClient.get(java.lang.String remote, java.lang.String local, FileTransferProgress progress, boolean resume)
           Download the remote file to the local computer.
 java.lang.String SftpClient.getAbsolutePath(java.lang.String path)
          Get the absolute path for a file.
 java.lang.String SftpClient.getDefaultDirectory()
           Get the default directory (or HOME directory)
 SftpFile[] SftpClient.getFiles(java.lang.String remote)
           Download the remote files to the local computer
 SftpFile[] SftpClient.getFiles(java.lang.String remote, boolean resume)
           Download the remote files to the local computer
 SftpFile[] SftpClient.getFiles(java.lang.String remote, FileTransferProgress progress)
           Download the remote files to the local computer.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, FileTransferProgress progress, boolean resume)
           Download the remote files to the local computer.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, java.lang.String local)
          Download the remote files into the local file.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, java.lang.String local, boolean resume)
          Download the remote files into the local file.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, java.lang.String local, FileTransferProgress progress, boolean resume)
           Download the remote file to the local computer.
 java.io.InputStream SftpClient.getInputStream(java.lang.String remotefile)
          Create an InputStream for reading a remote file.
 java.io.InputStream SftpClient.getInputStream(java.lang.String remotefile, long position)
          Create an InputStream for reading a remote file.
 java.io.OutputStream SftpClient.getOutputStream(java.lang.String remotefile)
          Create an OutputStream for writing to a remote file.
 long DirectoryOperation.getTransferSize()
          Get the total number of bytes that this operation will transfer
 boolean SftpClient.isDirectoryOrLinkedDirectory(SftpFile file)
          Determine whether the file object is pointing to a symbolic link that is pointing to a directory.
 SftpFile[] SftpClient.ls()
           List the contents of the current remote working directory.
 SftpFile[] SftpClient.ls(java.lang.String path)
           List the contents remote directory.
 java.lang.String[] RegularExpressionMatching.matchFileNamesWithPattern(java.io.File[] files, java.lang.String fileNameRegExp)
          returns each of the files that match the pattern fileNameRegExp
 java.lang.String[] Perl5RegExpMatching.matchFileNamesWithPattern(java.io.File[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 java.lang.String[] GlobRegExpMatching.matchFileNamesWithPattern(java.io.File[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 java.lang.String[] NoRegExpMatching.matchFileNamesWithPattern(java.io.File[] files, java.lang.String fileNameRegExp)
          opens and returns the requested filename string
 SftpFile[] RegularExpressionMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          returns each of the SftpFiles that match the pattern fileNameRegExp
 SftpFile[] Perl5RegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 SftpFile[] GlobRegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 SftpFile[] NoRegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          returns files
 void SftpClient.mkdir(java.lang.String dir)
           Creates a new directory on the remote server.
 void SftpClient.mkdirs(java.lang.String dir)
           Create a directory or set of directories.
 SftpFile SftpClient.openFile(java.lang.String fileName)
           
 void SftpClient.put(java.io.InputStream in, java.lang.String remote)
          Upload the contents of an InputStream to the remote computer.
 void SftpClient.put(java.io.InputStream in, java.lang.String remote, FileTransferProgress progress)
           Upload a file to the remote computer reading from the specified InputStream.
 void SftpClient.put(java.io.InputStream in, java.lang.String remote, FileTransferProgress progress, long position)
           
 void SftpClient.put(java.io.InputStream in, java.lang.String remote, long position)
          Upload the contents of an InputStream to the remote computer.
 void SftpClient.put(java.lang.String local)
          Upload a file to the remote computer
 void SftpClient.put(java.lang.String local, boolean resume)
          Upload a file to the remote computer
 void SftpClient.put(java.lang.String local, FileTransferProgress progress)
           Upload a file to the remote computer.
 void SftpClient.put(java.lang.String local, FileTransferProgress progress, boolean resume)
           Upload a file to the remote computer.
 void SftpClient.put(java.lang.String local, java.lang.String remote)
          Upload a file to the remote computer
 void SftpClient.put(java.lang.String local, java.lang.String remote, boolean resume)
          Upload a file to the remote computer
 void SftpClient.put(java.lang.String local, java.lang.String remote, FileTransferProgress progress)
           Upload a file to the remote computer.
 void SftpClient.put(java.lang.String local, java.lang.String remote, FileTransferProgress progress, boolean resume)
           Upload a file to the remote computer.
 void SftpClient.putFiles(java.lang.String local)
          Upload the contents of an InputStream to the remote computer.
 void SftpClient.putFiles(java.lang.String local, boolean resume)
          Upload files to the remote computer
 void SftpClient.putFiles(java.lang.String local, FileTransferProgress progress)
           Upload files to the remote computer
 void SftpClient.putFiles(java.lang.String local, FileTransferProgress progress, boolean resume)
           Upload files to the remote computer
 void SftpClient.putFiles(java.lang.String local, java.lang.String remote)
          Upload files to the remote computer
 void SftpClient.putFiles(java.lang.String local, java.lang.String remote, boolean resume)
          Upload files to the remote computer
 void SftpClient.putFiles(java.lang.String local, java.lang.String remote, FileTransferProgress progress)
           Upload files to the remote computer.
 void SftpClient.putFiles(java.lang.String local, java.lang.String remote, FileTransferProgress progress, boolean resume)
          make local copies of some of the variables, then call putfilematches, which calls "put" on each file that matches the regexp local.
 void SftpClient.quit()
           Close the SFTP client.
 void SftpClient.rename(java.lang.String oldpath, java.lang.String newpath)
           Rename a file on the remote computer.
 void SftpClient.rm(java.lang.String path)
           Remove a file or directory from the remote computer.
 void SftpClient.rm(java.lang.String path, boolean force, boolean recurse)
          Remove a file or directory on the remote computer with options to force deletion of existing files and recursion.
 SftpFileAttributes SftpClient.stat(java.lang.String path)
           Returns the attributes of the file from the remote computer.
 void SftpClient.symlink(java.lang.String path, java.lang.String link)
           Create a symbolic link on the remote computer.
 void SftpClient.umask(java.lang.String umask)
          Sets the umask for this client.
 

Constructors in com.sshtools.sftp that throw SshException
SftpClient(SshClient ssh)
           
SftpClient(SshClient ssh, int Max_Version)
           Constructs the SFTP client with a given channel event listener.
SftpClient(SshSession session)
           
SftpClient(SshSession session, int Max_Version)
           
 



Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.