new HMACSHA196.Factory(),
new HMACMD596.Factory()));
sshd.setChannelFactories(Arrays.<NamedFactory<Channel>>asList(
new ChannelSession.Factory(),
new TcpipServerChannel.DirectTcpipFactory()));
sshd.setFileSystemFactory(new NativeFileSystemFactory());
sshd.setTcpipForwarderFactory(new DefaultTcpipForwarderFactory());
sshd.setGlobalRequestHandlers(Arrays.<RequestHandler<ConnectionService>>asList(
new KeepAliveHandler(),
new NoMoreSessionsHandler(),
new TcpipForwardHandler(),