Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Track SSH/SFTP Bandwidth

James Drews shared this idea 9 years ago
Open Discussion

right now pure-ftp has it's bandwidth tracked, but if folks use ssh/sftp, it is not.

sshd can turn on logging of transfers in /etc/ssh/sshd_conf change :

Subsystem sftp /usr/libexec/openssh/sftp-server


Subsystem sftp /usr/libexec/openssh/sftp-server -l INFO

Now the log in /var/log/messages can be used to get the data (best if it corolates with /var/log/secure so you can attribute the usage to the right account)

Replies (2)


I vote this up!



Please cPanel, do consider and implement this.

Any chance we could get it any time soon? When?


Leave a Comment
Attach a file