in reply to Re^2: threads, forks and SSH in thread threads, forks and SSH
Morning again Monks!
Thank you so much for the replies. This module sounds just what im looking for. Im not too bothered about things being a little dirty aslong as it gets it done quickly and I get decent output.
I should add its a windows server 2003.
ralph
Re^4: threads, forks and SSH
by salva (Canon) on Dec 15, 2015 at 14:15 UTC
|
Oops, then you can not use it: Net::OpenSSH does not work on Windows.
Your best option there is to go for Net::SSH2 or Net::SSH::Perl, but IIRC, both have issues with threads. | [reply] |
|
evening
Well that has burst my bubble! I really liked the look of openSSH:Para.
This is going to be a pain now, but atleast I will learn i guess
| [reply] |
|
One option could be to check out Control::CLI, which uses Net::SSH2 for SSH connections. If you use Strawberry Perl, it comes with Net::SSH2. The documentation for Control::CLI gives an example of driving multiple telnet/SSH sessions (see here).
| [reply] |
A reply falls below the community's threshold of quality. You may see it by logging in. |
|