ssh.connect(properties, new DialogHostKeyVerification(this));
}
else
{
ssh.connect(properties,
new SftpVerification(Settings.sshHostKeyVerificationFile));
}
PasswordAuthenticationClient pwd = new PasswordAuthenticationClient();
pwd.setUsername(user);
pwd.setPassword(pass);