echoPort = getFreePort();
sshd = SshServer.setUpDefaultServer();
sshd.setPort(sshPort);
sshd.setKeyPairProvider(new FileKeyPairProvider(new String[] { "src/test/resources/hostkey.pem" }));
sshd.setShellFactory(new EchoShellFactory());
sshd.setPasswordAuthenticator(new BogusPasswordAuthenticator());
sshd.setTcpIpForwardFilter(new BogusTcpIpForwardFilter());
sshd.start();
NioSocketAcceptor acceptor = new NioSocketAcceptor();