[Ssh-sftp-perl-users] Error connecting with Net::SFT
Brought to you by:
dbrobins
From: Bhattacharya, M. K. <man...@ci...> - 2009-10-19 17:49:09
|
Hi I am facing an issue when trying to establish an SFTP connection to an sftp server. If I run sftp from command line the connection goes through and I am able to connect and issue commands to the sftp server. But from the Net::SFTP module I get the below: mtrxps5-phys: Reading configuration data /home/mtrxsftp/.ssh/config mtrxps5-phys: Reading configuration data /etc/ssh_config mtrxps5-phys: Connecting to emetrnp1.eur.nsroot.net, port 22. mtrxps5-phys: Remote version string: SSH-2.0-OpenSSH_3.8.1p1 mtrxps5-phys: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 mtrxps5-phys: Net::SSH::Perl Version 1.30, protocol version 2.0. mtrxps5-phys: No compat match: OpenSSH_3.8.1p1. mtrxps5-phys: Connection established. mtrxps5-phys: Sent key-exchange init (KEXINIT), wait response. mtrxps5-phys: Algorithms, c->s: 3des-cbc hmac-sha1 none mtrxps5-phys: Algorithms, s->c: 3des-cbc hmac-sha1 none mtrxps5-phys: Entering Diffie-Hellman Group 1 key exchange. mtrxps5-phys: Sent DH public key, waiting for reply. mtrxps5-phys: Received host key, type 'ssh-dss'. mtrxps5-phys: Host 'emetrnp1.eur.nsroot.net' is known and matches the host key. mtrxps5-phys: Computing shared secret key. mtrxps5-phys: Verifying server signature. mtrxps5-phys: Waiting for NEWKEYS message. mtrxps5-phys: Enabling incoming encryption/MAC/compression. mtrxps5-phys: Send NEWKEYS, enable outgoing encryption/MAC/compression. mtrxps5-phys: Sending request for user-authentication service. Connection closed by remote host. at /opt/MATRIX/common/perl//Net/SSH/Perl/AuthMgr.pm line 59 Regards, Manish Bhattacharya |