£okì has asked for the wisdom of the Perl Monks concerning the following question:
This works GREAT as long as I'm working on servers for which I have a RSA or DSA key for. However, if I'm working on password based servers, I need a way to put the password in there. I know I could use Net::SSH or something of that sort however it's really slow and tends to be a memory hog. Any suggestions, maybe expect? I'm not sure.open (RESULT, "/usr/bin/ssh -l root " . $host . " 'httpd startssl'|"); while (<RESULT>){ print $_; } close RESULT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Opening Linux Commands
by tirwhan (Abbot) on Jan 27, 2006 at 07:23 UTC | |
by £okì (Scribe) on Jan 27, 2006 at 07:39 UTC | |
|
Re: Opening Linux Commands
by glasswalk3r (Friar) on Jan 27, 2006 at 11:32 UTC | |
by Fletch (Bishop) on Jan 27, 2006 at 18:26 UTC | |
by Anonymous Monk on Jan 31, 2006 at 10:03 UTC |