Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Simultaneous SSH sessions with Parallel::ForkManager + Expect

by 5mi11er (Deacon)
on Mar 26, 2009 at 21:59 UTC ( #753525=note: print w/ replies, xml ) Need Help??


in reply to Simultaneous SSH sessions with Parallel::ForkManager + Expect

There's nothing inherent about SSH that will keep you from running more than one command at a time. But calling ssh with a command executes the command and then exits, I'm guessing that's what you are doing when you call the perl command, so the connection is gone by the time you try to call the getOSType function in the "combined script".

Since getOSType and getPrompt aren't provided above, all we can do is guess at what's going on, which makes the probability of getting helpful answers drop close to zero.

-Scott


Comment on Re: Simultaneous SSH sessions with Parallel::ForkManager + Expect

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-07-22 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (130 votes), past polls