sftp log file

Hello.

we're using sftp to send 2 files to a remote system. It seems that for every 'good' SFTP entry in the log - it is preceded immediately by an error - generally separated by a single second...but sometimes with the exact same timestamp. any idea why that is?

sftp.log:

02/17/09 at 14:50:00   *************************************************************0*2*/*1*7*/*0*9* a*t* 1*4*:*50
:00   **************************************************************************
sftp> put /xxx/sftp/work/xxx/raw_file /inbox/TS0_20090217_145000.TXT quit
Uploading /xxx/sftp/work/xxx/raw_file to /inbox/TS0_20090217_145000.TXT
02/17/09 at 14:55:00   **************************************************************************
02/17/09 at 14:55:01   **************************************************************************
sftp> put /xxx/sftp/work/xxx/raw_file /inbox/TS0_20090217_145501.TXT quit
Uploading /xxx/sftp/work/xxx/raw_file to /inbox/TS0_20090217_145501.TXT

script log:

02/17/09 at 14:50:01 Error in SFTP for xxx, file /xxx/sftp/work/xxx/raw_file
02/17/09 at 14:50:01 Good SFTP for xxx, file /xxx/sftp/work/xxx/raw_file
02/17/09 at 14:55:01 Error in SFTP xxx, file /xxx/sftp/work/xxx/raw_file
02/17/09 at 14:55:02 Good SFTP for xxx, file /xxx/sftp/work/xxx/raw_file

Hi,

on our systems we see similar things since we upgraded our ssh version ... for some weird reason it expects the other side to authenticate with RSA key rather than with DSA key - and since the other side is using DSA, this authentication try gets rejected, the second try with DSA key works ... maybe similar reason in your environment ?

Rgds
zxmaus