I am using a perl script running on a linux machine to perform file transfer via SFTP.
My server is freeSSHd running on windows (xp)
When I run my script I get the following debug messages:
Reading configuration data /root/.ssh/config
IP-10: Reading configuration data /etc/ssh_config
IP-10: Allocated local port 1023.
IP-10: Connecting to 192.168.1.250, port 22.
IP-10: Remote protocol version 2.0, remote software version WeOnlyDo 2.0.6
IP-10: Net::SSH::Perl Version 1.33, protocol version 2.0.
.P-10: No compat match: WeOnlyDo 2.0.6
IP-10: Connection established.
IP-10: Sent key-exchange init (KEXINIT), wait response.
IP-10: Algorithms, c->s: 3des-cbc hmac-sha1 none
IP-10: Algorithms, s->c: 3des-cbc hmac-sha1 none
IP-10: Entering Diffie-Hellman Group 1 key exchange.
P-10: Sent DH public key, waiting for reply.
IP-10: Received host key, type 'ssh-dss'.
IP-10: Host '192.168.1.250' is known and matches the host key.
IP-10: Computing shared secret key.
IP-10: Verifying server signature.
IP-10: Send NEWKEYS, enable outgoing encryption/MAC/compression.
IP-10: Waiting for NEWKEYS message.
IP-10: Enabling incoming encryption/MAC/compression.
IP-10: Sending request for user-authentication service.
Bad packet length 2912823222 at /usr/lib/perl5/5.8.7/Net/SSH/Perl/Packet.pm line 175
Other fact to mention:
The error occur on the SSH key excange phase.
Linux ssh command line client worked fine with freeSSHd server.
The perl script work fine with linux sshd and coreFTP mini sftp server on windows. ( I needed to pa
+tch code (see Net::SSH::perl bugs on coreFTP deadlock)