The default setup using SshServer.setUpDefaultServer() configures the following:
sshd.setChannelFactories(Arrays.<NamedFactory<Channel>>asList(
new ChannelSession.Factory(),
new ChannelDirectTcpip.Factory()));
So it should work. What kind of channels are you trying to configure ?
On Wed, Mar 9, 2011 at 16:27, Mark Robinson <[email protected]> wrote:
> Hi,
> Is there an example that shows how to set up a basic SSHD server to listen
> for SSH channels? I am hacking away at sshd.setChannelFactories with no luck.
> Thanks!
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com