I have found various ways on line of using the ConfigServer Firewall to track (by means of an email to server admin) each SSH access to my servers.
I am now looking for ways to improve upon this by being able to get a notification email to the server admin email address stating the IP / approx. location, and time and account for each SFTP Cpanel account access (success or failure).
Further Details:
I have a working system for giving email notifications when a pure SSH connection (winSCP, WHM Terminal, etc.) is established to/on the server, however, when a SFTP (FTP over SSH) access is opened, such as with PhpStorm or FileZilla etc; this connection does not trigger the notification system. How can I report these sorts of connections by email?
I can't find any options for doing this on the standard WHM / ConfigServer Firewall, and more frustratingly my Internet Search Engine diggings only come up with similarly phrased but completely off-topic results (such as "how do I FTP to my server", etc. etc.) .
Many thanks for any clues to create this trackability.
Cheers
Martin
P.s> Success or failure of each SFTP connection is not important, it would be nice to report the status of each attempted connection (ie is it a valid login?) but this is secondary to knowing the connection is taking place.
I am now looking for ways to improve upon this by being able to get a notification email to the server admin email address stating the IP / approx. location, and time and account for each SFTP Cpanel account access (success or failure).
Further Details:
I have a working system for giving email notifications when a pure SSH connection (winSCP, WHM Terminal, etc.) is established to/on the server, however, when a SFTP (FTP over SSH) access is opened, such as with PhpStorm or FileZilla etc; this connection does not trigger the notification system. How can I report these sorts of connections by email?
I can't find any options for doing this on the standard WHM / ConfigServer Firewall, and more frustratingly my Internet Search Engine diggings only come up with similarly phrased but completely off-topic results (such as "how do I FTP to my server", etc. etc.) .
Many thanks for any clues to create this trackability.
Cheers
Martin
P.s> Success or failure of each SFTP connection is not important, it would be nice to report the status of each attempted connection (ie is it a valid login?) but this is secondary to knowing the connection is taking place.
Last edited: