Hi
I have Perl script (with set of system command in `sys command`). I wanted to run this script in other list of server that I can provide at the run time of my local server.
Also I can not use Expect/ Net::SSH module or any other CPAN module.
My script is running perfectly fine in my local machine, but when I have place the block of code, it seems it do not have reference to the script and can perform any other line of code after doing ssh to the specific server.
e.g.
script name: servervalidation.pl
my script should first take the server, and ssh to that server and then in that server login as su and then perform some set of command and get the information and send back to the local server from which I run he script.
take argument: list_of_server