Net-SFTP - Issue transfering to WinSSHD Server

Posted on Thu May 5 17:43:36 2005 by jharmer
Issue transfering to WinSSHD Server

A similar question was posted on sourceforge by a different person, but I was unable to find any responses.

I'm working with SFTP.pm,v 1.30 2005/01/16 and trying to communicate to a Windows based WinSSHD server. I'm able to connect with no issues, but when I try to put the file the transfer starts and reports no errors, but the transfer is unsuccessful. Basically I end up with a file of size 0.

I am able to transfer the file using sftp clients to the server and had no problems transferring my file to an AIX based sftp server.

I've attached the debug output below and any help would be greatly appreciated.

was2dev: Reading configuration data /test/home/d1gpsh1/.ssh/config

was2dev: Reading configuration data /etc/ssh_config

was2dev: Connecting to sftp.bankerssystems.com, port 22.

was2dev: Remote protocol version 2.0, remote software version 1.61 sshlib: WinSSHD 3.31

was2dev: Net::SSH::Perl Version 1.24, protocol version 2.0.

.as2dev: No compat match: 1.61 sshlib: WinSSHD 3.31

was2dev: Connection established.

was2dev: Sent key-exchange init (KEXINIT), wait response.

was2dev: Algorithms, c->s: 3des-cbc hmac-sha1 none

was2dev: Algorithms, s->c: 3des-cbc hmac-sha1 none

was2dev: Entering Diffie-Hellman Group 1 key exchange.

was2dev: Sent DH public key, waiting for reply.

was2dev: Received host key, type 'ssh-dss'.

was2dev: Host 'sftp.bankerssystems.com' is known and matches the host key.

was2dev: Computing shared secret key.

was2dev: Verifying server signature.

was2dev: Waiting for NEWKEYS message.

was2dev: Enabling incoming encryption/MAC/compression.

was2dev: Send NEWKEYS, enable outgoing encryption/MAC/compression.

was2dev: Sending request for user-authentication service.

was2dev: Service accepted: ssh-userauth.

was2dev: Trying empty user-authentication request.

was2dev: Authentication methods that can continue: publickey,password.

was2dev: Next method to try is publickey.

was2dev: Next method to try is password.

was2dev: Trying password authentication.

was2dev: Login completed, opening dummy shell channel.

was2dev: channel 0: new [client-session]

was2dev: Requesting channel_open for channel 0.

was2dev: channel 0: open confirm rwindow 16384 rmax 16384

was2dev: Got channel open confirmation, requesting shell.

was2dev: Requesting service shell on channel 0.

was2dev: channel 1: new [client-session]

was2dev: Requesting channel_open for channel 1.

was2dev: Sending subsystem: sftp

was2dev: Requesting service subsystem on channel 1.

was2dev: channel 1: open confirm rwindow 16384 rmax 16384

was2dev: sftp: Sending SSH2_FXP_INIT

was2dev: sftp: Remote version: 2

was2dev: sftp: Sent SSH2_FXP_OPEN I:0 P:/2250660ira.pgp

error sending file05/05/05 10:38:32: notice: send_bsi_files.pl: Finishing send_bsi_files.pl

Direct Responses: 6235 | Write a response