sshd = SshServer.setUpDefaultServer();
sshd.getProperties().put(SshServer.WINDOW_SIZE, "2048");
sshd.getProperties().put(SshServer.MAX_PACKET_SIZE, "256");
sshd.setPort(sshPort);
sshd.setKeyPairProvider(Utils.createTestHostKeyProvider());
sshd.setShellFactory(new EchoShellFactory());
sshd.setPasswordAuthenticator(new BogusPasswordAuthenticator());
sshd.setTcpipForwardingFilter(new BogusForwardingFilter());
sshd.start();
NioSocketAcceptor acceptor = new NioSocketAcceptor();