How can I set up a SFTP login email notification?

I have had to let guys who assist me go through these tough time and I have had to delegate or create new SFTP logins for some of the clients who think they can handle that part of the work themselves.

I am able to log and email SSH access into server. When they log in, I get their IP and know who’s login is sent via email. I would like to do the same via SFTP access. When they use Filezilla or similar and SFTP, I’d like to at least get the notification (I don’t care so much about their IP address)

Any assistance or recommended tools will be highly appreciated.


I’m running Ubuntu 18.04

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!