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;
In reply to Opening Linux Commands by £okì
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |