com.jcraft.jsch
Class JSch

java.lang.Object
  extended by 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()
           
 
Method Summary
 void addIdentity(java.lang.String foo)
           
 void addIdentity(java.lang.String foo, java.lang.String bar)
           
(package private)  java.lang.String getConfig(java.lang.String foo)
           
 HostKeyRepository getHostKeyRepository()
           
(package private)  Proxy getProxy(java.lang.String host)
           
 Session getSession(java.lang.String username, java.lang.String host)
           
 Session getSession(java.lang.String username, java.lang.String host, int port)
           
(package private)  void removeProxy()
           
protected  boolean removeSession(Session session)
           
static void setConfig(java.util.Hashtable foo)
           
 void setHostKeyRepository(HostKeyRepository foo)
           
 void setKnownHosts(java.io.InputStream foo)
           
 void setKnownHosts(java.lang.String foo)
           
(package private)  void setProxy(java.lang.String hosts, Proxy proxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

static java.util.Hashtable config

pool

java.util.Vector pool

identities

java.util.Vector identities
Constructor Detail

JSch

public JSch()
Method Detail

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.