com.jcraft.jsch
Class JSch
java.lang.Object
com.jcraft.jsch.JSch
public class JSch
- extends java.lang.Object
|
Field Summary |
(package private) static java.util.Hashtable |
config
|
(package private) java.util.Vector |
identities
|
(package private) java.util.Vector |
pool
|
|
Constructor Summary |
JSch()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
static java.util.Hashtable config
pool
java.util.Vector pool
identities
java.util.Vector identities
JSch
public JSch()
getSession
public Session getSession(java.lang.String username,
java.lang.String host)
throws JSchException
- Throws:
JSchException
getSession
public Session getSession(java.lang.String username,
java.lang.String host,
int port)
throws JSchException
- Throws:
JSchException
removeSession
protected boolean removeSession(Session session)
setHostKeyRepository
public void setHostKeyRepository(HostKeyRepository foo)
setKnownHosts
public void setKnownHosts(java.lang.String foo)
throws JSchException
- Throws:
JSchException
setKnownHosts
public void setKnownHosts(java.io.InputStream foo)
throws JSchException
- Throws:
JSchException
getHostKeyRepository
public HostKeyRepository getHostKeyRepository()
addIdentity
public void addIdentity(java.lang.String foo)
throws JSchException
- Throws:
JSchException
addIdentity
public void addIdentity(java.lang.String foo,
java.lang.String bar)
throws JSchException
- Throws:
JSchException
getConfig
java.lang.String getConfig(java.lang.String foo)
setProxy
void setProxy(java.lang.String hosts,
Proxy proxy)
getProxy
Proxy getProxy(java.lang.String host)
removeProxy
void removeProxy()
setConfig
public static void setConfig(java.util.Hashtable foo)
Copyright 2006 jcraft. All Rights Reserved.