Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: threads, forks and SSH

by ralph2014 (Initiate)
on Dec 15, 2015 at 14:04 UTC ( [id://1150382]=note: print w/replies, xml ) Need Help??


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

Replies are listed 'Best First'.
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.

      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

        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).

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1150382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found