public void log(int i, String s) {
System.out.println("Log(jsch," + i + "): " + s);
}
});
com.jcraft.jsch.Session s = sch.getSession("smx", "localhost", 8000);
s.setUserInfo(new UserInfo() {
public String getPassphrase() {
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public String getPassword() {
return "smx";