[Ssh-sftp-perl-users] Not an ARRAY reference at /usr/lib/perl5/5.8.5/Math/BigInt/Calc.pm line 968
Brought to you by:
dbrobins
From: Steve N. <ste...@vi...> - 2005-07-06 21:27:09
|
here's my script: #!/usr/bin/perl use strict ; use lib '/opt/lib/perl' ; use Net::SFTP qw(scp) ; my %sftpArgs = ( user => 'user', password => 'password', warn => '0', debug => '1', ) ; my $sftp = Net::SFTP -> new('127.0.0.1', %sftpArgs) ; $sftp -> put("/etc/passwd", "/tmp") ; Here's what happens.... [root@pnazlx236 ~]# perl test.pl pnazlx236.nat.teci.com: Reading configuration data /root/.ssh/config pnazlx236.nat.teci.com: Reading configuration data /etc/ssh_config pnazlx236.nat.teci.com: Allocated local port 1023. pnazlx236.nat.teci.com: Connecting to 127.0.0.1, port 22. pnazlx236.nat.teci.com: Remote protocol version 1.99, remote software version OpenSSH_3.9p1 pnazlx236.nat.teci.com: Net::SSH::Perl Version 1.28, protocol version 2.0. pnazlx236.nat.teci.com: No compat match: OpenSSH_3.9p1. pnazlx236.nat.teci.com: Connection established. pnazlx236.nat.teci.com: Sent key-exchange init (KEXINIT), wait response. pnazlx236.nat.teci.com: Algorithms, c->s: 3des-cbc hmac-sha1 none pnazlx236.nat.teci.com: Algorithms, s->c: 3des-cbc hmac-sha1 none pnazlx236.nat.teci.com: Entering Diffie-Hellman Group 1 key exchange. pnazlx236.nat.teci.com: Sent DH public key, waiting for reply. pnazlx236.nat.teci.com: Received host key, type 'ssh-dss'. pnazlx236.nat.teci.com: Host '127.0.0.1' is known and matches the host key. Not an ARRAY reference at /usr/lib/perl5/5.8.5/Math/BigInt/Calc.pm line 968. what's with BigInt? I'm running RHEL4, kernel 2.6.9-11.ELsmp, perl 5.8 and modules compiled from CPAN. |