Page 1 of 1

Email on successful root ssh login

Posted: 20 Apr 2012, 02:15
by t325
Hello,

I'm trying to configure LFD to send me an e-mail only when root logs in via SSH. I have LF_SSH_EMAIL_ALERT=1 and I get e-mails on every login to SSH, which I don't really need, especially since FTP is disabled and I require all users to use SFTP so I don't need an e-mail everytime they FTP in to upload files. So I just want alerts on root login, is there any way for me to configure this? Thanks

Re: Email on successful root ssh login

Posted: 24 Apr 2012, 10:36
by chirpy
There's no such option in csf, it only reports all SSH logins.

Re: Email on successful root ssh login

Posted: 04 Jan 2013, 23:21
by sneader
I came here to find the answer to the same question. We have a number of power users on our server that log in regularly via SSH, and I don't need to know. However, I would really like to be alerted right away for any root login via SSH. Maybe this is a feature that could be considered for the future.

- Scott