Bug 1434

Summary: Traffic accounting per session
Product: Portable OpenSSH Reporter: Stephen Farrugia <openssh>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: dtucker
Priority: P2    
Version: 4.7p1   
Hardware: Other   
OS: All   

Description Stephen Farrugia 2008-01-28 23:11:38 AEDT
Hello.  I spoke with Damien Miller at linuxconf.au today about this and he suggested entering a request here.

I would like the ability to know how much bandwidth an SSH connection has used once complete.  I help run a box with many users and it would help enormously to know who uses how much precious bandwidth (costs lots in Australia).  I found this reference using Google, which is what I'm after, but I'm am not willing to use the patch unless it's in the official distribution:
  http://fixunix.com/openssh/177822-patch-openssh-server.html

Many Thanks
Stephen
Comment 1 Darren Tucker 2009-07-31 10:23:38 AEST
This is now in sshd.c at loglevel=verbose since 5.1p1:

  verbose("Transferred: sent %llu, received %llu bytes", obytes, ibytes);
Comment 2 Stephen Farrugia 2009-08-04 22:58:58 AEST
Your work is much appreciated.
Comment 3 Damien Miller 2009-10-06 15:02:31 AEDT
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.