Page 1 of 1

Connect multiple TScSSHClient/TScSSHShell in parallel

Posted: Mon 27 Sep 2021 16:13
by e-eduardo
I need to access shell of multiple devices and keep them alive. Using just the main thread I'm connecting each TScSSHClient/TScSSHShell one after other, but this approach spend a lot of time to get all devices ready. So, I want to connect this devices in parallel. Can I use one thread for each TScSSHClient/TScSSHShell pair and connect them in parallel? Or something like that?

Re: Connect multiple TScSSHClient/TScSSHShell in parallel

Posted: Fri 01 Oct 2021 07:00
by YanishevskiyVI
Hi Eduardo!

Thank you for your question!
SecureBridge can work in multithreaded applications, so it is thread safe.

Therefore you may use separate thread to work with TScSSHClient/TScSSHShell pair.

Should you have any questions, do not hesitate to ask!

Regards,
Vitaliy