Hello POE People, Long time POE list lurker here.

I'm trying to figure out a good way to use POE to manage an aggregate of SSH
connections to remote machines. I've been trying to use functions from
Net::SSH::Perl because it does not shell out like Net::SSH does. However,
I've run into a snafu that perhaps you can suggest a solution to.

The high level interface to Net::SSH::Perl does not offer a non-blocking
interface, so currently I only have a choice of diving into the lower
interface, or forking off processes using Wheel::Run. While the Wheel::Run
methods works for me, it only offers limited IPC between parent and
children. Since I want to be able to "reuse" SSH connections to a remote
machine, This limits it's usefulness. Also, the reason I wanted to use POE
in the first place was to avoid forking lots of processes. Therefore, I
would rather like to be able find a simple way to do one of the following:

- Use Net::SSH::Perl's low level interface with POE in a non-blocking
capacity (PoCo?),
- Extend Wheel::Run or my custom handlers to have better IPC functionalty
(how?), or
- Find a way to use Net::SSH::Perl's experimental open3() method with
Poe::Wheel (seems broken).

Any suggestions? Are there any other solutions I've overlooked here?

Thanks in advance,
- MW

"To know, is to know that you know nothing.
 That is the meaning of true knowledge." -Confucius 

Reply via email to