Uses of Class
com.jcraft.jsch.JSchException

Packages that use JSchException
Package Description
com.jcraft.jsch  
com.jcraft.jsch.jgss  
  • Uses of JSchException in com.jcraft.jsch

    Methods in com.jcraft.jsch that throw JSchException
    Modifier and Type Method Description
    void JSch.addIdentity​(Identity identity, byte[] passphrase)
    Sets the private key, which will be referred in the public key authentication.
    void JSch.addIdentity​(java.lang.String prvkey)
    Sets the private key, which will be referred in the public key authentication.
    void JSch.addIdentity​(java.lang.String prvkey, byte[] passphrase)
    Sets the private key, which will be referred in the public key authentication.
    void JSch.addIdentity​(java.lang.String name, byte[] prvkey, byte[] pubkey, byte[] passphrase)
    Sets the private key, which will be referred in the public key authentication.
    void JSch.addIdentity​(java.lang.String prvkey, java.lang.String passphrase)
    Sets the private key, which will be referred in the public key authentication.
    void JSch.addIdentity​(java.lang.String prvkey, java.lang.String pubkey, byte[] passphrase)
    Sets the private key, which will be referred in the public key authentication.
    void Channel.connect()  
    void Channel.connect​(int connectTimeout)  
    void ChannelDirectTCPIP.connect​(int connectTimeout)  
    void ProxyHTTP.connect​(SocketFactory socket_factory, java.lang.String host, int port, int timeout)  
    void ProxySOCKS4.connect​(SocketFactory socket_factory, java.lang.String host, int port, int timeout)  
    void ProxySOCKS5.connect​(SocketFactory socket_factory, java.lang.String host, int port, int timeout)  
    void Session.connect()  
    void Session.connect​(int connectTimeout)  
    void GSSContext.create​(java.lang.String user, java.lang.String host)  
    void Session.delPortForwardingL​(int lport)
    Cancels the local port forwarding assigned at local TCP port lport on loopback interface.
    void Session.delPortForwardingL​(java.lang.String bind_address, int lport)
    Cancels the local port forwarding assigned at local TCP port lport on bind_address interface.
    void Session.delPortForwardingR​(int rport)
    Cancels the remote port forwarding assigned at remote TCP port rport.
    void Session.delPortForwardingR​(java.lang.String bind_address, int rport)
    Cancels the remote port forwarding assigned at remote TCP port rport bound on the interface at bind_address.
    abstract byte[] KeyPair.forSSHAgent()  
    byte[] KeyPairDeferred.forSSHAgent()  
    byte[] KeyPairDSA.forSSHAgent()  
    byte[] KeyPairECDSA.forSSHAgent()  
    byte[] KeyPairEdDSA.forSSHAgent()  
    byte[] KeyPairPKCS8.forSSHAgent()  
    byte[] KeyPairRSA.forSSHAgent()  
    static KeyPair KeyPair.genKeyPair​(JSch jsch, int type)  
    static KeyPair KeyPair.genKeyPair​(JSch jsch, int type, int key_size)  
    java.util.Vector<java.lang.String> JSch.getIdentityNames()
    Lists names of identities included in the identityRepository.
    java.lang.String[] Session.getPortForwardingL()
    Lists the registered local port forwarding.
    java.lang.String[] Session.getPortForwardingR()
    Lists the registered remote port forwarding.
    Session Channel.getSession()  
    Session JSch.getSession​(java.lang.String host)
    Instantiates the Session object with host.
    Session JSch.getSession​(java.lang.String username, java.lang.String host)
    Instantiates the Session object with username and host.
    Session JSch.getSession​(java.lang.String username, java.lang.String host, int port)
    Instantiates the Session object with given username, host and port.
    Channel Session.getStreamForwarder​(java.lang.String host, int port)
    Instantiates an instance of stream-forwarder to host:port.
    byte[] GSSContext.init​(byte[] token, int s, int l)  
    static KeyPair KeyPair.load​(JSch jsch, byte[] prvkey, byte[] pubkey)  
    static KeyPair KeyPair.load​(JSch jsch, java.lang.String prvkey)  
    static KeyPair KeyPair.load​(JSch jsch, java.lang.String prvfile, java.lang.String pubfile)  
    Channel Session.openChannel​(java.lang.String type)  
    void JSch.removeAllIdentity()
    Removes all identities from identityRepository.
    void JSch.removeIdentity​(Identity identity)
    Removes the identity from identityRepository.
    void JSch.removeIdentity​(java.lang.String name)
    Deprecated.
    use #removeIdentity(Identity identity)
    void ChannelSftp.setBulkRequests​(int bulk_requests)
    Specify how many requests may be sent at any one time.
    void JSch.setKnownHosts​(java.io.InputStream stream)
    Sets the instance of KnownHosts generated with stream.
    void JSch.setKnownHosts​(java.lang.String filename)
    Sets the instance of KnownHosts, which refers to filename.
    boolean Identity.setPassphrase​(byte[] passphrase)
    Decrypts this identity with the specified pass-phrase.
    int Session.setPortForwardingL​(int lport, java.lang.String host, int rport)
    Registers the local port forwarding for loop-back interface.
    int Session.setPortForwardingL​(java.lang.String conf)
    Registers the local port forwarding.
    int Session.setPortForwardingL​(java.lang.String bind_address, int lport, java.lang.String host, int rport)
    Registers the local port forwarding.
    int Session.setPortForwardingL​(java.lang.String bind_address, int lport, java.lang.String host, int rport, ServerSocketFactory ssf)
    Registers the local port forwarding.
    int Session.setPortForwardingL​(java.lang.String bind_address, int lport, java.lang.String host, int rport, ServerSocketFactory ssf, int connectTimeout)
    Registers the local port forwarding.
    void Session.setPortForwardingR​(int rport, java.lang.String daemon)
    Registers the remote port forwarding for the loopback interface of the remote.
    void Session.setPortForwardingR​(int rport, java.lang.String host, int lport)
    Registers the remote port forwarding for the loopback interface of the remote.
    void Session.setPortForwardingR​(int rport, java.lang.String host, int lport, SocketFactory sf)
    Registers the remote port forwarding for the loopback interface of the remote.
    void Session.setPortForwardingR​(int rport, java.lang.String daemon, java.lang.Object[] arg)
    Registers the remote port forwarding for the loopback interface of the remote.
    int Session.setPortForwardingR​(java.lang.String conf)
    Registers the remote port forwarding.
    void Session.setPortForwardingR​(java.lang.String bind_address, int rport, java.lang.String host, int lport)
    Registers the remote port forwarding.
    void Session.setPortForwardingR​(java.lang.String bind_address, int rport, java.lang.String host, int lport, SocketFactory sf)
    Registers the remote port forwarding.
    void Session.setPortForwardingR​(java.lang.String bind_address, int rport, java.lang.String daemon, java.lang.Object[] arg)
    Registers the remote port forwarding.
    void Session.setServerAliveInterval​(int interval)
    Sets the interval to send a keep-alive message.
    int Session.setSocketForwardingL​(java.lang.String bindAddress, int lport, java.lang.String socketPath, ServerSocketFactory ssf, int connectTimeout)  
    void Session.setTimeout​(int timeout)  
    void Channel.start()  
    void ChannelExec.start()  
    void ChannelSftp.start()  
    void ChannelShell.start()  
    void ChannelSubsystem.start()  
    Constructors in com.jcraft.jsch that throw JSchException
    Constructor Description
    HostKey​(java.lang.String host, byte[] key)  
    HostKey​(java.lang.String host, int type, byte[] key)  
    HostKey​(java.lang.String host, int type, byte[] key, java.lang.String comment)  
    HostKey​(java.lang.String marker, java.lang.String host, int type, byte[] key, java.lang.String comment)  
  • Uses of JSchException in com.jcraft.jsch.jgss

    Methods in com.jcraft.jsch.jgss that throw JSchException
    Modifier and Type Method Description
    void GSSContextKrb5.create​(java.lang.String user, java.lang.String host)  
    byte[] GSSContextKrb5.init​(byte[] token, int s, int l)