Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Multiple Device Logon execute the same command

by dasgar (Priest)
on Apr 03, 2015 at 18:12 UTC ( [id://1122375]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Multiple Device Logon execute the same command
in thread Multiple Device Logon execute the same command

I'd recommend checking out Strawberry Perl. Looking at the latest 32-bit and 64-bit versions available:

  • 32-bit version comes with Net::SSH2, Math::Pari and Math::BigIntGMP modules.
  • 64-bit version comes with Net::SSH2 and Math::BigIntGMP modules.

I personally have not used any Net::SSH modules, but I believe that Net::SSH2 should be able to do what you're wanting to do. I have to admit that after taking a very quick look at the documentation for Net::SSH2, I'm not sure if I would know how to use it properly. However, I've been meaning to check out Control::CLI, which will use Net::SSH2 for SSH connections. The documentation provides some example code to log into multiple devices and issue commands to multiple devices, which is the basic functionality that you're after. Since the interface looks a lot like the interface of Win32::SerialPort (which I have used before), I think that I personally would have a small learning curve with trying to learn how to use Control::CLI.

  • Comment on Re^5: Multiple Device Logon execute the same command

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-23 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found