addIdentity
public void addIdentity(String prvkey)
throws JSchException
addIdentity
public void addIdentity(String prvkey,
String passphrase)
throws JSchException
addIdentity
public void addIdentity(String prvkey,
String pubkey,
byte[] passphrase)
throws JSchException
addIdentity
public void addIdentity(String prvkey,
byte[] passphrase)
throws JSchException
addIdentity
public void addIdentity(String name,
byte[] prvkey,
byte[] pubkey,
byte[] passphrase)
throws JSchException
addSession
protected void addSession(Session session)
getIdentityNames
public Vector getIdentityNames()
throws JSchException
removeAllIdentity
public void removeAllIdentity()
throws JSchException
removeIdentity
public void removeIdentity(String name)
throws JSchException
removeSession
protected boolean removeSession(Session session)
setConfig
public static void setConfig(java.util.Hashtable newconf)
setKnownHosts
public void setKnownHosts(InputStream stream)
throws JSchException
setKnownHosts
public void setKnownHosts(String filename)
throws JSchException
setLogger
public static void setLogger(Logger logger)