in reply to Perl script to run sudo command(s) on multiple boxes without the use of expect module.
Why do you not want to use expect?
Do you have public key infraestructure handling ssh access to your account?
Not perl related, but you could consider see ansible
PD: I have a perl script to use 'ssh server "su - -c xxx"' , but it is using expect, it is called as_root
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl script to run sudo command(s) on multiple boxes without the use of expect module.
by durgesh_p (Initiate) on Aug 05, 2015 at 17:43 UTC | |
by i5513 (Pilgrim) on Aug 05, 2015 at 18:56 UTC |