Thanks for this great resource.
I'm having issues with connections dropping when I instantiate more than a few (4 or more) SshClients in the same application. If I run separate instances of the same application (each with 1 SshClient), my problems go away. Can you think of any possible causes (maybe static methods with locks that block use from multiple instances of the class)?
Comments: ** Comment from web user: bgulrich **
I'm having issues with connections dropping when I instantiate more than a few (4 or more) SshClients in the same application. If I run separate instances of the same application (each with 1 SshClient), my problems go away. Can you think of any possible causes (maybe static methods with locks that block use from multiple instances of the class)?
Comments: ** Comment from web user: bgulrich **
Yes, each is a different host - I'm connecting to about 10 at a time then using SshShellStream to write commands and read responses from each simultaneously.