Package | Description |
---|---|
com.jcraft.jsch | |
com.jcraft.jsch.jgss |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
Session.connect() |
void |
Channel.connect() |
void |
Session.connect(int connectTimeout) |
void |
Channel.connect(int connectTimeout) |
void |
ChannelDirectTCPIP.connect(int connectTimeout) |
void |
ProxySOCKS5.connect(SocketFactory socket_factory,
String host,
int port,
int timeout) |
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 |
GSSContext.create(String user,
String host) |
void |
Session.delPortForwardingL(int lport)
Cancels the local port forwarding assigned
at local TCP port
lport on loopback interface. |
void |
Session.delPortForwardingL(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(String bind_address,
int rport)
Cancels the remote port forwarding assigned at
remote TCP port
rport bound on the interface at
bind_address . |
byte[] |
KeyPairDSA.forSSHAgent() |
byte[] |
KeyPairRSA.forSSHAgent() |
byte[] |
KeyPairECDSA.forSSHAgent() |
abstract byte[] |
KeyPair.forSSHAgent() |
byte[] |
KeyPairPKCS8.forSSHAgent() |
static KeyPair |
KeyPair.genKeyPair(JSch jsch,
int type) |
static KeyPair |
KeyPair.genKeyPair(JSch jsch,
int type,
int key_size) |
Vector |
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.
|
Session |
Channel.getSession() |
Session |
JSch.getSession(String host)
Instantiates the
Session object with
host . |
Session |
JSch.getSession(String username,
String host)
Instantiates the
Session object with
username and host . |
Session |
JSch.getSession(String username,
String host,
int port)
Instantiates the
Session object with given
username , host and port . |
Channel |
Session.getStreamForwarder(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,
String prvkey) |
static KeyPair |
KeyPair.load(JSch jsch,
String prvfile,
String pubfile) |
Channel |
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 of
KnownHosts generated with
stream . |
void |
JSch.setKnownHosts(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,
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 |
ChannelSubsystem.start() |
void |
ChannelSftp.start() |
void |
Channel.start() |
void |
ChannelShell.start() |
void |
ChannelExec.start() |
Constructor and Description |
---|
HostKey(String host,
byte[] key) |
HostKey(String host,
int type,
byte[] key) |
HostKey(String host,
int type,
byte[] key,
String comment) |
HostKey(String marker,
String host,
int type,
byte[] key,
String comment) |
Modifier and Type | Method and Description |
---|---|
void |
GSSContextKrb5.create(String user,
String host) |
byte[] |
GSSContextKrb5.init(byte[] token,
int s,
int l) |
Copyright © 2016 JCraft,Inc.. All rights reserved.