session = jsch.getSession(username,host);
if(pemFile != null) {
jsch.addIdentity(pemFile.getAbsolutePath(), pemPassword);
}
session.setUserInfo(new cfUserInfo(host,username,userPassword,pemFile,pemPassword,passFile));
session.connect();
Message.verbose(":: SSH :: connected to "+host+"!");
setSession(username, host, port, session);
} catch (JSchException e) {
if (passFile.exists()) {
passFile.delete();