Re: [Ssh-sftp-perl-users] Uncaught exception in ...Net/SSH/Perl/AuthMgr.pm
Brought to you by:
dbrobins
From: Howard, C. <Ho...@pr...> - 2009-10-12 14:01:42
|
You're sure that nothing changed on the server end? ________________________________ From: Morrison, Lee [mailto:Lee...@ww...] Sent: Fri 10/9/2009 2:09 PM To: ssh...@li... Subject: [Ssh-sftp-perl-users] Uncaught exception in ...Net/SSH/Perl/AuthMgr.pm On a perl application that has been running fine for years it now consistently gets errors as shown below. Any advice is appreciated. No known environment changes. I have re-installed Net::SFTP, Net::SSH::Perl, Net::SSH::Perl::Auth. Running sftp directly from the command line connecting to the same remote server with the same user/password works fine. Run with debug => 'true' dstar: Reading configuration data /root/.ssh/config dstar: Reading configuration data /etc/ssh_config dstar: Allocated local port 1023. dstar: Connecting to secure-ftp.entriq.net, port 22. dstar: Remote protocol version 2.0, remote software version OpenSSH_4.3 dstar: Net::SSH::Perl Version 1.34, protocol version 2.0. dstar: No compat match: OpenSSH_4.3. dstar: Connection established. dstar: Sent key-exchange init (KEXINIT), wait response. dstar: Algorithms, c->s: 3des-cbc hmac-sha1 none dstar: Algorithms, s->c: 3des-cbc hmac-sha1 none dstar: Entering Diffie-Hellman Group 1 key exchange. dstar: Sent DH public key, waiting for reply. dstar: Received host key, type 'ssh-dss'. dstar: Host 'secure-ftp.entriq.net' is known and matches the host key. dstar: Computing shared secret key. dstar: Verifying server signature. dstar: Waiting for NEWKEYS message. dstar: Send NEWKEYS. dstar: Enabling encryption/MAC/compression. dstar: Sending request for user-authentication service. Uncaught exception from user code: Connection closed by remote host. at /usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/AuthMgr.pm line 44 at /usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/Packet.pm line 52 Net::SSH::Perl::Packet::read('Net::SSH::Perl::Packet', 'Net::SSH::Perl::SSH2=HASH(0xa8aab6c)') called at /usr/lib/ perl5/site_perl/5.8.8/Net/SSH/Perl/AuthMgr.pm line 44 Net::SSH::Perl::AuthMgr::init('Net::SSH::Perl::AuthMgr=HASH(0xa048128)') called at /usr/lib/perl5/site_perl/5.8.8/ Net/SSH/Perl/AuthMgr.pm line 31 Net::SSH::Perl::AuthMgr::new('Net::SSH::Perl::AuthMgr', 'Net::SSH::Perl::SSH2=HASH(0xa8aab6c)') called at /usr/lib /perl5/site_perl/5.8.8/Net/SSH/Perl/SSH2.pm line 94 Net::SSH::Perl::SSH2::_login('Net::SSH::Perl::SSH2=HASH(0xa8aab6c)') called at /usr/lib/perl5/site_perl/5.8.8/Net/ SSH/Perl/SSH2.pm line 69 Net::SSH::Perl::SSH2::login('Net::SSH::Perl::SSH2=HASH(0xa8aab6c)', '*******', *******', 'supress_shell') called at /usr/lib/perl5/site_perl/5.8.8/Net/SFTP.pm line 62 Net::SFTP::init('Net::SFTP=HASH(0xa8aab84)', 'password', *******', 'debug', 'true', 'user', '*******') called at /us r/lib/perl5/site_perl/5.8.8/Net/SFTP.pm line 24 Net::SFTP::new('Net::SFTP', *******', 'password', '*******', 'debug', 'true', 'user', '*******') called at /u02/.scripts/test_sftp.pl line 48 [root@dstar entriq]# |