shellstream instance limit

Dec 6, 2012 at 6:13 PM

I am using a shellstream through an SSH connection to a Unix box to create a Telnet session with one of 800 devices on the network. Data collection takes about 30 secs per device.

I can create multiple shellstreams through the one SSH connection but it seems to support a maximum of 10.

Does anyone know if this is a limit imposed by SSH.NET, the SSH protocol or something else? If so can this be changed in configuration, a property of the connection or something else?

Thanks

Coordinator
Dec 20, 2012 at 1:49 PM

Hi,

 

Yes,

If you connecting to the same SSH Server from the same IP usually there is a limit on how many session channels server can open and in my investigation I found that common number is 10. If you know that your server can support more then one session channel from the same IP you can change it by specifying number of channels using MaxSessions property in ConnectionInfo object.

 

Hope it helps,

Thanks,

Oleg