LOG.debug("Using '{}' for known hosts.", knownHostsFile);
jsch.setKnownHosts(knownHostsFile);
Session s = jsch.getSession("admin", "localhost", getPort());
s.setConfig("StrictHostKeyChecking", "ask");
s.setConfig("HashKnownHosts", "yes");
s.setUserInfo(new UserInfo() {
@Override
public String getPassphrase() {
return null;
}
@Override