Uses of Class
com.jcraft.jsch.JSchException
Packages that use JSchException
-
Uses of JSchException in com.jcraft.jsch
Subclasses of JSchException in com.jcraft.jschModifier and TypeClassDescriptionclassExtension ofJSchExceptionto indicate when a connection fails during algorithm negotiation.classclassclassclassclassclassclassMethods in com.jcraft.jsch that throw JSchExceptionModifier and TypeMethodDescriptionvoidJSch.addIdentity(Identity identity, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.voidJSch.addIdentity(String prvkey) Sets the private key, which will be referred in the public key authentication.voidJSch.addIdentity(String prvkey, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.voidJSch.addIdentity(String name, byte[] prvkey, byte[] pubkey, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.voidJSch.addIdentity(String prvkey, String passphrase) Sets the private key, which will be referred in the public key authentication.voidJSch.addIdentity(String prvkey, String pubkey, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.voidChannel.connect()voidChannel.connect(int connectTimeout) voidChannelDirectTCPIP.connect(int connectTimeout) voidProxyHTTP.connect(SocketFactory socket_factory, String host, int port, int timeout) voidProxySOCKS4.connect(SocketFactory socket_factory, String host, int port, int timeout) voidProxySOCKS5.connect(SocketFactory socket_factory, String host, int port, int timeout) voidSession.connect()voidSession.connect(int connectTimeout) voidvoidSession.delPortForwardingL(int lport) Cancels the local port forwarding assigned at local TCP portlporton loopback interface.voidSession.delPortForwardingL(String bind_address, int lport) Cancels the local port forwarding assigned at local TCP portlportonbind_addressinterface.voidSession.delPortForwardingR(int rport) Cancels the remote port forwarding assigned at remote TCP portrport.voidSession.delPortForwardingR(String bind_address, int rport) Cancels the remote port forwarding assigned at remote TCP portrportbound on the interface atbind_address.abstract byte[]KeyPair.forSSHAgent()static KeyPairKeyPair.genKeyPair(JSch jsch, int type) static KeyPairKeyPair.genKeyPair(JSch jsch, int type, int key_size) JSch.getIdentityNames()Lists names of identities included in the identityRepository.String[]Session.getPortForwardingL()Lists the registered local port forwarding.String[]Session.getPortForwardingR()Lists the registered remote port forwarding.Channel.getSession()JSch.getSession(String host) Instantiates theSessionobject withhost.JSch.getSession(String username, String host) Instantiates theSessionobject withusernameandhost.JSch.getSession(String username, String host, int port) Instantiates theSessionobject with givenusername,hostandport.Session.getStreamForwarder(String host, int port) Instantiates an instance of stream-forwarder tohost:port.byte[]GSSContext.init(byte[] token, int s, int l) static KeyPairstatic KeyPairstatic KeyPairSession.openChannel(String type) voidJSch.removeAllIdentity()Removes all identities from identityRepository.voidJSch.removeIdentity(Identity identity) Removes the identity from identityRepository.voidJSch.removeIdentity(String name) Deprecated.use #removeIdentity(Identity identity)voidChannelSftp.setBulkRequests(int bulk_requests) Specify how many requests may be sent at any one time.voidJSch.setKnownHosts(InputStream stream) Sets the instance ofKnownHostsgenerated withstream.voidJSch.setKnownHosts(String filename) Sets the instance ofKnownHosts, which refers tofilename.booleanIdentity.setPassphrase(byte[] passphrase) Decrypts this identity with the specified pass-phrase.intSession.setPortForwardingL(int lport, String host, int rport) Registers the local port forwarding for loop-back interface.intSession.setPortForwardingL(String conf) Registers the local port forwarding.intSession.setPortForwardingL(String bind_address, int lport, String host, int rport) Registers the local port forwarding.intSession.setPortForwardingL(String bind_address, int lport, String host, int rport, ServerSocketFactory ssf) Registers the local port forwarding.intSession.setPortForwardingL(String bind_address, int lport, String host, int rport, ServerSocketFactory ssf, int connectTimeout) Registers the local port forwarding.voidSession.setPortForwardingR(int rport, String daemon) Registers the remote port forwarding for the loopback interface of the remote.voidSession.setPortForwardingR(int rport, String host, int lport) Registers the remote port forwarding for the loopback interface of the remote.voidSession.setPortForwardingR(int rport, String host, int lport, SocketFactory sf) Registers the remote port forwarding for the loopback interface of the remote.voidSession.setPortForwardingR(int rport, String daemon, Object[] arg) Registers the remote port forwarding for the loopback interface of the remote.intSession.setPortForwardingR(String conf) Registers the remote port forwarding.voidSession.setPortForwardingR(String bind_address, int rport, String host, int lport) Registers the remote port forwarding.voidSession.setPortForwardingR(String bind_address, int rport, String host, int lport, SocketFactory sf) Registers the remote port forwarding.voidSession.setPortForwardingR(String bind_address, int rport, String daemon, Object[] arg) Registers the remote port forwarding.voidSession.setServerAliveInterval(int interval) Sets the interval to send a keep-alive message.intSession.setSocketForwardingL(String bindAddress, int lport, String socketPath, ServerSocketFactory ssf, int connectTimeout) voidSession.setTimeout(int timeout) voidChannel.start()voidChannelExec.start()voidChannelSftp.start()voidChannelShell.start()voidChannelSubsystem.start()Constructors in com.jcraft.jsch that throw JSchException -
Uses of JSchException in com.jcraft.jsch.jgss
Methods in com.jcraft.jsch.jgss that throw JSchException