So I tracked the problem down to not having SFTP installed on the client server. It's needed in the is_dir function in the Rex::Interface::OpenSSH.pm. The VirtInfo module calls is_dir to determine if a directory exists.
Seems odd I would need SFTP to check if a directory exists. Especially odd there is absolutely no warning is given about this. Overall, the Rex project doesn't seem to be getting maintained and code feels buggy. Unfortunate.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Re: Having trouble getting Rex (Remote Execution) module to generate output
by nysus
in thread Having trouble getting Rex (Remote Execution) module to generate output
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |