I want to do SSH inside a Perl program because I want to do some complex stuff with the open SSH later.
Like connect to 8 different machines, dive into directories, check what files are there, and depending on those files and in some stored values and on input parameters, run some Perl scripts on those remote files, get the results, process them, aggregate the results from the 8 different machines, and present them back.
All this without being able to install anything in the remote machines, they are Production and cannot be touched.
I do not know Expect that well, but I think I do need Perl for this.
|