Different Results when transferring data over sftp or scp in the log file

William Sescu william.sescu at gmail.com
Mon Feb 22 19:07:13 EST 2010


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


More information about the openssh-unix-dev mailing list