[Ssh-sftp-perl-users] Extra packet sent by SFTP, but only sometimes
Brought to you by:
dbrobins
From: M B <mbw...@ho...> - 2005-11-29 20:53:45
|
Perl script runs every minute to connect to a WinSSHD server to download files that may be present. Usually it connects and runs just fine. Every few hours or so (it seems to be random), during the connection attempt (Net::SFTP->new()), SFTP/SSH is sending an extra message that is causing the server to terminate the connection. This extra message is sent after authentication. Here are the received messages from the server log: SSH_MSG_CHANNEL_DATA: 5E00000001000000010A SSH_MSG_CHANNEL_DATA: 5E0000000100000009000000050100000003 The first message is the extraneous one; on the successful connections, only the 2nd message is sent. Below is the log from the perl script. I can't really tell at what point in the code/connection process the extra message is being sent, or why. Thanks in advance, Matt . . . phil: Login completed, opening dummy shell channel. phil: channel 0: new [client-session] phil: Requesting channel_open for channel 0. phil: channel 0: open confirm rwindow 16384 rmax 35840 phil: Got channel open confirmation, requesting shell. phil: Requesting service shell on channel 0. phil: channel 1: new [client-session] phil: Requesting channel_open for channel 1. phil: Sending subsystem: sftp phil: Requesting service subsystem on channel 1. phil: channel 1: open confirm rwindow 16384 rmax 35840 phil: sftp: Sending SSH2_FXP_INIT phil: channel 1: rcvd eof phil: channel 1: output open -> drain phil: channel 1: rcvd close phil: channel 1: input open -> closed phil: channel 1: close_read phil: channel 1: obuf empty phil: channel 1: output drain -> closed phil: channel 1: close_write phil: channel 1: send close phil: channel 1: full closed _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |