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 TypeClassDescription(package private) class(package private) classMethods in com.jcraft.jsch that throw JSchExceptionModifier and TypeMethodDescriptionprivate intSession._setPortForwardingR(String bind_address, int rport) voidJSch.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.private voidKnownHosts.addInvalidLine(String line) (package private) static voidChannelForwardedTCPIP.addPort(Session session, String _address_to_bind, int port, int allocated_port, String target, int lport, SocketFactory factory) (package private) static voidChannelForwardedTCPIP.addPort(Session session, String _address_to_bind, int port, int allocated_port, String daemon, Object[] arg) (package private) static PortWatcherPortWatcher.addPort(Session session, String address, int lport, String host, int rport, ServerSocketFactory ssf) private voidSession.applyConfig()private voidSession.applyConfigChannel(ChannelSession channel) private voidSession.checkHost(String chost, int port, KeyExchange kex) 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) void(package private) HostKeyKnownHosts.createHashedHostKey(String host, byte[] key) (package private) static SocketUtil.createSocket(String host, int port, int timeout) (package private) static 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.private voidProxySOCKS5.fill(InputStream in, byte[] buf, int len) abstract byte[]KeyPair.forSSHAgent()byte[]KeyPairDSA.forSSHAgent()byte[]KeyPairECDSA.forSSHAgent()byte[]KeyPairPKCS8.forSSHAgent()byte[]KeyPairRSA.forSSHAgent()(package private) static byte[]Util.fromBase64(byte[] buf, int start, int length) (package private) static KeyPairKeyPairDSA.fromSSHAgent(JSch jsch, Buffer buf) (package private) static KeyPairKeyPairECDSA.fromSSHAgent(JSch jsch, Buffer buf) (package private) static KeyPairKeyPairRSA.fromSSHAgent(JSch jsch, Buffer buf) (package private) abstract voidKeyPair.generate(int key_size) (package private) voidKeyPairDSA.generate(int key_size) (package private) voidKeyPairECDSA.generate(int key_size) (package private) voidKeyPairPKCS8.generate(int key_size) (package private) voidKeyPairRSA.generate(int key_size) static KeyPairKeyPair.genKeyPair(JSch jsch, int type) static KeyPairKeyPair.genKeyPair(JSch jsch, int type, int key_size) (package private) byte[][]JSch.getIdentityNames()Lists names of identities included in the identityRepository.(package private) static PortWatcherString[]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.(package private) voidChannel.init()(package private) voidChannelExec.init()(package private) voidChannelShell.init()(package private) voidChannelSubsystem.init()byte[]GSSContext.init(byte[] token, int s, int l) private voidSession.initDeflater(String method) private voidSession.initInflater(String method) static KeyPairstatic KeyPairstatic KeyPair(package private) static KeyPair(package private) static IdentityFileIdentityFile.newInstance(String name, byte[] prvkey, byte[] pubkey, JSch jsch) (package private) static IdentityFileIdentityFile.newInstance(String prvfile, String pubfile, JSch jsch) Session.openChannel(String type) private Session.ForwardingSession.parseForwarding(String conf) The given argument may be "[bind_address:]port:host:hostport" or "[bind_address:]port host:hostport", which is from LocalForward command of ~/.ssh/config .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)private voidSession.requestPortForwarding()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.(package private) voidKnownHosts.setKnownHosts(InputStream input) (package private) voidKnownHosts.setKnownHosts(String filename) booleanIdentity.setPassphrase(byte[] passphrase) Decrypts this identity with the specified pass-phrase.booleanIdentityFile.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.voidSession.setTimeout(int timeout) voidChannel.start()voidChannelExec.start()voidChannelSftp.start()voidChannelShell.start()voidChannelSubsystem.start()private voidSession.start_discard(Buffer buf, Cipher cipher, MAC mac, int packet_length, int discard) Constructors in com.jcraft.jsch that throw JSchExceptionModifierConstructorDescription(package private)HashedHostKey(String host, byte[] key) (package private)HashedHostKey(String host, int type, byte[] key) (package private)HashedHostKey(String marker, String host, int type, byte[] key, String comment) privateIdentityFile(JSch jsch, String name, KeyPair kpair) (package private)PortWatcher(Session session, String address, int lport, String host, int rport, ServerSocketFactory factory) (package private) -
Uses of JSchException in com.jcraft.jsch.jgss
Methods in com.jcraft.jsch.jgss that throw JSchException