Email on successful root ssh login

Post Reply
t325
Junior Member
Posts: 2
Joined: 20 Apr 2012, 02:11

Email on successful root ssh login

Post 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
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Re: Email on successful root ssh login

Post by chirpy »

There's no such option in csf, it only reports all SSH logins.
sneader
Junior Member
Posts: 84
Joined: 22 Mar 2007, 05:38

Re: Email on successful root ssh login

Post 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
Post Reply