com.jcraft.jsch
public class JSch extends Object
Constructor Summary | |
---|---|
JSch() |
Method Summary | |
---|---|
void | addIdentity(String prvkey) |
void | addIdentity(String prvkey, String passphrase) |
void | addIdentity(String prvkey, byte[] passphrase) |
void | addIdentity(String prvkey, String pubkey, byte[] passphrase) |
void | addIdentity(String name, byte[] prvkey, byte[] pubkey, byte[] passphrase) |
void | addIdentity(Identity identity, byte[] passphrase) |
protected void | addSession(Session session) |
HostKeyRepository | getHostKeyRepository() |
Vector | getIdentityNames() |
Session | getSession(String username, String host) |
Session | getSession(String username, String host, int port) |
void | removeAllIdentity() |
void | removeIdentity(String name) |
protected boolean | removeSession(Session session) |
static void | setConfig(Hashtable newconf) |
static void | setConfig(String key, String value) |
void | setHostKeyRepository(HostKeyRepository hkrepo) |
void | setKnownHosts(String filename) |
void | setKnownHosts(InputStream stream) |
static void | setLogger(Logger logger) |