tdodd72
asked on
statistics for SFTP server
Hey guys I am new at this and trying to gain some understanding here. I have a SFTP server that is on the internet. Its purpose is to allow people to upload and download documents. It is working fine but I would like to get some statistical information. Is there any tool in linux thats native or a 3rd party tool, web language that would give me the following statistical infromation.
1) What ip address is accessing my server
2) How much data is being downloaded and how long the session is opened
3) How much time they spent on my server
I would like to be able to get this information.
1) What ip address is accessing my server
2) How much data is being downloaded and how long the session is opened
3) How much time they spent on my server
I would like to be able to get this information.
did you check http://www.webalizer.org/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For starter if you have shell access to the server, just type:
last
This will provide details of every connection (including SFTP sessions), the user-id, the session duration, and source IP and / or hostname
On the bandwidth front you'll either need to configure syslog-ng to capture bandwidth data to a log else install a SNMP monitor e.g. Cacti
last
This will provide details of every connection (including SFTP sessions), the user-id, the session duration, and source IP and / or hostname
On the bandwidth front you'll either need to configure syslog-ng to capture bandwidth data to a log else install a SNMP monitor e.g. Cacti
ASKER
.