Connect multiple TScSSHClient/TScSSHShell in parallel
Connect multiple TScSSHClient/TScSSHShell in parallel
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?
-
- Devart Team
- Posts: 70
- Joined: Wed 02 Jun 2021 09:30
Re: Connect multiple TScSSHClient/TScSSHShell in parallel
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
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