Connect multiple TScSSHClient/TScSSHShell in parallel

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
e-eduardo
Posts: 5
Joined: Fri 31 Mar 2017 14:09

Connect multiple TScSSHClient/TScSSHShell in parallel

Post by e-eduardo » Mon 27 Sep 2021 16:13

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?

YanishevskiyVI
Devart Team
Posts: 70
Joined: Wed 02 Jun 2021 09:30

Re: Connect multiple TScSSHClient/TScSSHShell in parallel

Post by YanishevskiyVI » Fri 01 Oct 2021 07:00

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

Post Reply