mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Matthew.W.Pi...@wellsfargo.com>
Subject SSHD: Can SshClient be used as a multi-threaded factory?
Date Thu, 25 Aug 2011 13:21:48 GMT
Hello all. I'm using SSHD as a client library to reach-out to many devices
at one time and so far it's been a joy.

Currently, I'm creating a new SshClient (via SshClient.setUpDefaultClient())
for each and every "log in" to a remote device, but I'm wondering if that is
the best way. Can SshClient be created once and used by multiple threads to
create ClientSessions via the connect methods?

TIA,

Matthew Pitts
 
Developer
Network Security Services
 
Wells Fargo Bank
matthew.w.pitts@wellsfargo.com
 



Mime
View raw message