Hi,

I'm using apache-sshd 2.0.0 to make multiple SSH connections using
SshClient. I'm starting single SshClient for multiple subsystem channel,
basically connecting to 100 devices and read the message from all channel.
Flow of executing and use case is,

1. Start SshClient
2. Connect to 100 devices as SubSystemChannel
3. Read message from all 100 channel asynronously
4. process message and check for ']]>]]>' pattern to break the messages, so
times complete message may not be available when read from channel, so
partial message to stored
5. push every message (from point 4) to some message engine or Event stream
processor.

How do I read a data from multiple channel in asynchronous way for above
flow using Apache-mina core api?
Do I need to register every channel to 'Selector' to read from multiple
channel or apache mina provides an easy way to process the message from all
channel.


<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>apache-sshd</artifactId>
<version>2.0.0</version>
<type>pom</type>
</dependency>


Regards,
William Rovinson

Reply via email to