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) class
Methods in com.jcraft.jsch that throw JSchExceptionModifier and TypeMethodDescriptionprivate int
Session._setPortForwardingR
(String bind_address, int rport) void
JSch.addIdentity
(Identity identity, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.void
JSch.addIdentity
(String prvkey) Sets the private key, which will be referred in the public key authentication.void
JSch.addIdentity
(String prvkey, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.void
JSch.addIdentity
(String name, byte[] prvkey, byte[] pubkey, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.void
JSch.addIdentity
(String prvkey, String passphrase) Sets the private key, which will be referred in the public key authentication.void
JSch.addIdentity
(String prvkey, String pubkey, byte[] passphrase) Sets the private key, which will be referred in the public key authentication.private void
KnownHosts.addInvalidLine
(String line) (package private) static void
ChannelForwardedTCPIP.addPort
(Session session, String _address_to_bind, int port, int allocated_port, String target, int lport, SocketFactory factory) (package private) static void
ChannelForwardedTCPIP.addPort
(Session session, String _address_to_bind, int port, int allocated_port, String daemon, Object[] arg) (package private) static PortWatcher
PortWatcher.addPort
(Session session, String address, int lport, String host, int rport, ServerSocketFactory ssf) private void
Session.applyConfig()
private void
Session.applyConfigChannel
(ChannelSession channel) private void
Session.checkHost
(String chost, int port, KeyExchange kex) void
Channel.connect()
void
Channel.connect
(int connectTimeout) void
ChannelDirectTCPIP.connect
(int connectTimeout) void
ProxyHTTP.connect
(SocketFactory socket_factory, String host, int port, int timeout) void
ProxySOCKS4.connect
(SocketFactory socket_factory, String host, int port, int timeout) void
ProxySOCKS5.connect
(SocketFactory socket_factory, String host, int port, int timeout) void
Session.connect()
void
Session.connect
(int connectTimeout) void
(package private) HostKey
KnownHosts.createHashedHostKey
(String host, byte[] key) (package private) static Socket
Util.createSocket
(String host, int port, int timeout) (package private) static void
void
Session.delPortForwardingL
(int lport) Cancels the local port forwarding assigned at local TCP portlport
on loopback interface.void
Session.delPortForwardingL
(String bind_address, int lport) Cancels the local port forwarding assigned at local TCP portlport
onbind_address
interface.void
Session.delPortForwardingR
(int rport) Cancels the remote port forwarding assigned at remote TCP portrport
.void
Session.delPortForwardingR
(String bind_address, int rport) Cancels the remote port forwarding assigned at remote TCP portrport
bound on the interface atbind_address
.private void
ProxySOCKS5.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 KeyPair
KeyPairDSA.fromSSHAgent
(JSch jsch, Buffer buf) (package private) static KeyPair
KeyPairECDSA.fromSSHAgent
(JSch jsch, Buffer buf) (package private) static KeyPair
KeyPairRSA.fromSSHAgent
(JSch jsch, Buffer buf) (package private) abstract void
KeyPair.generate
(int key_size) (package private) void
KeyPairDSA.generate
(int key_size) (package private) void
KeyPairECDSA.generate
(int key_size) (package private) void
KeyPairPKCS8.generate
(int key_size) (package private) void
KeyPairRSA.generate
(int key_size) static KeyPair
KeyPair.genKeyPair
(JSch jsch, int type) static KeyPair
KeyPair.genKeyPair
(JSch jsch, int type, int key_size) (package private) byte[][]
JSch.getIdentityNames()
Lists names of identities included in the identityRepository.(package private) static PortWatcher
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 theSession
object withhost
.JSch.getSession
(String username, String host) Instantiates theSession
object withusername
andhost
.JSch.getSession
(String username, String host, int port) Instantiates theSession
object with givenusername
,host
andport
.Session.getStreamForwarder
(String host, int port) Instantiates an instance of stream-forwarder tohost
:port
.(package private) void
Channel.init()
(package private) void
ChannelExec.init()
(package private) void
ChannelShell.init()
(package private) void
ChannelSubsystem.init()
byte[]
GSSContext.init
(byte[] token, int s, int l) private void
Session.initDeflater
(String method) private void
Session.initInflater
(String method) static KeyPair
static KeyPair
static KeyPair
(package private) static KeyPair
(package private) static IdentityFile
IdentityFile.newInstance
(String name, byte[] prvkey, byte[] pubkey, JSch jsch) (package private) static IdentityFile
IdentityFile.newInstance
(String prvfile, String pubfile, JSch jsch) Session.openChannel
(String type) private Session.Forwarding
Session.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 .void
JSch.removeAllIdentity()
Removes all identities from identityRepository.void
JSch.removeIdentity
(Identity identity) Removes the identity from identityRepository.void
JSch.removeIdentity
(String name) Deprecated.use #removeIdentity(Identity identity)private void
Session.requestPortForwarding()
void
ChannelSftp.setBulkRequests
(int bulk_requests) Specify how many requests may be sent at any one time.void
JSch.setKnownHosts
(InputStream stream) Sets the instance ofKnownHosts
generated withstream
.void
JSch.setKnownHosts
(String filename) Sets the instance ofKnownHosts
, which refers tofilename
.(package private) void
KnownHosts.setKnownHosts
(InputStream input) (package private) void
KnownHosts.setKnownHosts
(String filename) boolean
Identity.setPassphrase
(byte[] passphrase) Decrypts this identity with the specified pass-phrase.boolean
IdentityFile.setPassphrase
(byte[] passphrase) Decrypts this identity with the specified pass-phrase.int
Session.setPortForwardingL
(int lport, String host, int rport) Registers the local port forwarding for loop-back interface.int
Session.setPortForwardingL
(String conf) Registers the local port forwarding.int
Session.setPortForwardingL
(String bind_address, int lport, String host, int rport) Registers the local port forwarding.int
Session.setPortForwardingL
(String bind_address, int lport, String host, int rport, ServerSocketFactory ssf) Registers the local port forwarding.int
Session.setPortForwardingL
(String bind_address, int lport, String host, int rport, ServerSocketFactory ssf, int connectTimeout) Registers the local port forwarding.void
Session.setPortForwardingR
(int rport, String daemon) Registers the remote port forwarding for the loopback interface of the remote.void
Session.setPortForwardingR
(int rport, String host, int lport) Registers the remote port forwarding for the loopback interface of the remote.void
Session.setPortForwardingR
(int rport, String host, int lport, SocketFactory sf) Registers the remote port forwarding for the loopback interface of the remote.void
Session.setPortForwardingR
(int rport, String daemon, Object[] arg) Registers the remote port forwarding for the loopback interface of the remote.int
Session.setPortForwardingR
(String conf) Registers the remote port forwarding.void
Session.setPortForwardingR
(String bind_address, int rport, String host, int lport) Registers the remote port forwarding.void
Session.setPortForwardingR
(String bind_address, int rport, String host, int lport, SocketFactory sf) Registers the remote port forwarding.void
Session.setPortForwardingR
(String bind_address, int rport, String daemon, Object[] arg) Registers the remote port forwarding.void
Session.setServerAliveInterval
(int interval) Sets the interval to send a keep-alive message.void
Session.setTimeout
(int timeout) void
Channel.start()
void
ChannelExec.start()
void
ChannelSftp.start()
void
ChannelShell.start()
void
ChannelSubsystem.start()
private void
Session.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) private
IdentityFile
(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