in reply to Re^3: IO::Pty, Net::Telnet and SSH
in thread IO::Pty, Net::Telnet and SSH [SOLVED]
Not a bad suggestion, but that defeats the purpose of this script I'm writing. I need to run an interactive program not on 1 server, on 500+ of them, so the idea is that this Perl script can connect to each server, and enter the same input that I gave the Perl script.
To give you an idea how this all fits together, when I run my script, it asks me for a list of servers, then it asks me a few questions. Once I'm done entering the info, the script will (when I find a fix for this IO::Pty, Net::Telnet and SSH issue) connect to each server and run the interactive program with the input I gave the program. So running the $ssh->shell isn't going to work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: IO::Pty, Net::Telnet and SSH
by fmerges (Chaplain) on Nov 04, 2006 at 18:44 UTC | |
by gonza (Novice) on Nov 04, 2006 at 19:45 UTC |