Estoy probando el módulo de SSH y me está mostrando los siguientes errores.
Tengo instalados los módulos de Net::SSH::Perl y Net::SSH desde CPAN.
¿Qué puede estar pasando en cada uno de ambos server?
SERVIDOR 1
- Código: Seleccionar todo
GULP# perl ssh.pl
GULP: Reading configuration data /root/.ssh/config
GULP: Reading configuration data /etc/ssh_config
GULP: Allocated local port 1023.
GULP: Connecting to 192.168.1.2, port 22.
GULP: Remote version string: SSH-2.0-OpenSSH_4.3p2 Debian-9
GULP: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-9
Can't locate Math/Pari.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.4/Net/SSH/Perl/Util/SSH2MP.pm line 6.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.4/Net/SSH/Perl/Util/SSH2MP.pm line 6.
Compilation failed in require at /usr/local/share/perl/5.8.4/Net/SSH/Perl/Util.pm line 56.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.4/Net/SSH/Perl/Kex/DH1.pm line 10.
Compilation failed in require at /usr/local/share/perl/5.8.4/Net/SSH/Perl/Kex.pm line 6.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.4/Net/SSH/Perl/Kex.pm line 6.
Compilation failed in require at /usr/local/share/perl/5.8.4/Net/SSH/Perl/SSH2.pm line 6.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.4/Net/SSH/Perl/SSH2.pm line 6.
Compilation failed in require at /usr/local/share/perl/5.8.4/Net/SSH/Perl.pm line 54.
SERVIDOR 2
- Código: Seleccionar todo
OKTUBRE:~# perl ssh.pl
Can't locate Net/SSH/Perl.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ssh.pl line 3.
BEGIN failed--compilation aborted at ssh.pl line 3.
OKTUBRE:~#
Saludos y muchas gracias ,
TELCO