for (String node : hosts) {
sshL.init(getRemoteUser(), node, getRemotePort(), sshpassword, sshkeyfile, sshkeypassphrase, logger);
if (generatekey || promptPass) {
//prompt for password iff required
if (sshkeyfile != null || SSHUtil.getExistingKeyFile() != null) {
if (sshL.checkConnection()) {
logger.info(Strings.get("SSHAlreadySetup", getRemoteUser(), node));
continue;
}
}
if (previousPassword != null) {