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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I believe you can use the script provided by Bobby here in this question since SFTP uses the ssh protocol to access the server and this should create the alert for you.
https://www.digitalocean.com/community/questions/ubuntu-20-04-set-up-alert-email-for-ssh-access
Another good tutorial can be found in DEV comminity
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.