|
|
| Perl: the Markov chain saw | |
| PerlMonks |
SSH and Sudoby davidsnt (Novice) |
| on Nov 16, 2012 at 06:25 UTC ( #1004137=perlquestion: print w/ replies, xml ) | Need Help?? |
|
davidsnt has asked for the
wisdom of the Perl Monks concerning the following question:
I need to write a application that can log in to a serevr farm and change as different user (sudo su -l user2) and execute a couple of commands and print the results. I dont want to use Expect module to supply the passwords and I dont have the infrastructure to have the ssh fingerprint copied to all the servers in the farm. Is there a possibility to use the default ssh -t option with Net::SSH::Perl module
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||