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 TypeClassDescriptionclass
Extension ofJSchException
to indicate when a connection fails during algorithm negotiation.class
class
class
class
class
class
class
Methods in com.jcraft.jsch that throw JSchExceptionModifier and TypeMethodDescriptionvoid
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.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
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
.abstract byte[]
KeyPair.forSSHAgent()
static KeyPair
KeyPair.genKeyPair
(JSch jsch, int type) static KeyPair
KeyPair.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 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
.byte[]
GSSContext.init
(byte[] token, int s, int l) static KeyPair
static KeyPair
static KeyPair
Session.openChannel
(String type) 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)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
.boolean
Identity.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.int
Session.setSocketForwardingL
(String bindAddress, int lport, 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 -
Uses of JSchException in com.jcraft.jsch.jgss
Methods in com.jcraft.jsch.jgss that throw JSchException