//properties.setHost(host);
//properties.setPort(port);
//properties.setPrefPublicKey("ssh-dss");
if(Settings.getEnableSshKeys())
{
ssh.connect(properties, new DialogHostKeyVerification(this));
}
else
{
ssh.connect(properties,
new SftpVerification(Settings.sshHostKeyVerificationFile));