Net::Rsh - perl client for Rsh protocol
use Net::Rsh; $a=Net::Rsh->new(); $host="cisco.router.com"; $local_user="root"; $remote_user="root"; $cmd="sh ru"; @c=$a->rsh($host,$local_user,$remote_user,$cmd); print @c;
Rsh protocol requires that the program be run as root or that the program be setuid to root
Oleg Prokopyev, <riiki@gu.net>
To install Net::Rsh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Rsh
CPAN shell
perl -MCPAN -e shell install Net::Rsh
For more information on module installation, please visit the detailed CPAN module installation guide.