William Sescu
2010-Feb-22 08:07 UTC
Different Results when transferring data over sftp or scp in the log file
Hello OpenSSH developers, I am running OpenSSH 5.3p1 on Solaris x86 64bit and I am analyzing the OpenSSH logfiles for security reasons. I wrote a script that counts the tranferred bytes per session. When I open a SFTP session then I see the following line in the OpenSSH log (LogLevel VERBOSE) So far so good. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Feb 19 15:24:29 solaris sshd[10184]: [ID 800047 local7.info] Transferred: sent 10557432, received 11172752 bytes ? ?(this is a 10Mbyte put and get) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- But when I do the same with SCP, then I don't get any report at all about the transferred bytes. Is this a bug or expected behaviour? I would very appreciate if you guys could help me regarding this issue. Best regards, William