in reply to Persistent SSH Terminal from Perl?

Welcome to the brick wall

Have looked into IO::React, no go (no Pty support on win). Now it looks like IPC::Run may help, but the documentation is very complicated, if anyone wishes to help me just start an ssh session (ssh -i key user@host), run two commands and get their output that would be great.

Let's assume the two commands are:
echo hello
echo goodbye

Replies are listed 'Best First'.
Re^2: Persistent SSH Terminal from Perl?
by steelcarn99 (Initiate) on Jul 31, 2009 at 19:53 UTC
    Has there been a solution to this problem? In particular running multiple commands to the remote machine over an SSH connection. I can do one command in a .pl script using:
    system('ssh user@host command');