A bit of additional information. I ran the SFTP test script against a host that I know it can connect to. In that case the tail end of the output looks like:
snapple: Requesting channel_open for channel 1.
snapple: Sending subsystem: sftp
snapple: Requesting service subsystem on channel 1.
snapple: channel 1: open confirm rwindow 0 rmax 32768
snapple: sftp: Sending SSH2_FXP_INIT
snapple: sftp: Remote version: 3
However, with the problem connection I get the following:
snapple: Requesting channel_open for channel 1.
snapple: channel 0: rcvd eof
snapple: channel 0: output open -> drain
snapple: channel 0: rcvd close
snapple: channel 0: input open -> closed
snapple: channel 0: close_read
snapple: channel 0: obuf empty
snapple: channel 0: output drain -> closed
snapple: channel 0: close_write
snapple: channel 0: send close
snapple: channel 0: full closed
snapple: sftp: Sending SSH2_FXP_INIT
Use of uninitialized value in numeric gt (>) at D:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 82.
Use of uninitialized value in pack at D:/Perl/site/lib/Net/SSH/Perl/Buffer.pm line 105.
Not too sure what that suggests but is it possible that the channel 1 open is somehow interfering with channel 0?
Thanks.
dcoleman |