But anyways, I have tried the:..and it prints out a zero???my $dig_output = issh("$user\@$host", "$cmd")
Uhm... where did you get that from? It wasn't what I suggested... ;-)
My suggestion was to forego the use of Net::SSH and just use a qx() or backticks instead. Since all you want is the output from the one command, that might prove to be much easier.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Re: Set a variable to remote information
by sauoq
in thread Set a variable to remote information
by needhelp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |