I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-11-25 14:09:55-08 by yoni
Net::SFTP windows host
Hi
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)
Any clue?
Direct Responses: 9423 | Write a response