sshd = org.apache.sshd.SshServer.setUpDefaultServer();
sshd.setPort(port);
KeyPairProvider prov =
hostKeyPath != null ?
new FileKeyPairProvider(new String[] {hostKeyPath}) :
new ResourceKeyPairProvider(new String[] { "com/consol/citrus/ssh/citrus.pem" });
sshd.setKeyPairProvider(prov);
// Authentication
boolean authFound = false;
if (password != null) {