|There's more than one way to do things|
Re: Unable to store the command output from Net::SSH2. Please help.by perl514 (Pilgrim)
|on Nov 06, 2012 at 18:56 UTC||Need Help??|
Tried using the Net::SSH::Any module, but it's not doing what I expected. I am going wrong somewhere.
I am trying to ssh into the VMWare Guest OS (CentOS 6.2). Before trying the script, I pinged and ensured that its working. I am also able to putty into the VMWare Guest OS, but not able to use the script for some reason.
Given below is the script
And here is the output. The cursor blinks for a while so it appears that it could be running the command, but returns the following error
Basically I want to capture the output of the ls -l command in the @output.
Perlpetually Indebted To PerlMonks