Do you know where your variables are? | |
PerlMonks |
SSH and qxby cbeckley (Curate) |
on Mar 13, 2017 at 13:55 UTC ( [id://1184423]=perlquestion: print w/replies, xml ) | Need Help?? |
cbeckley has asked for the wisdom of the Perl Monks concerning the following question: I'm using qx to ssh several admin commands on remote servers. I know I should be using Net::SSH, but the machines involved are legacy. And by legacy, I mean so ancient that we can't install, update, or patch either the OS or anything else. I really appreciate any time you can spare to sanity check this script. It's currently running and getting the job done, but if you could let me know if I'm doing anything dangerous or if there's a better and/or more stable way of doing it, that would be wonderful.
Thanks,
Update: I meant Net::OpenSSH rather than Net::SSH
Back to
Seekers of Perl Wisdom
|
|