35 thoughts on “How to Get Root and User SSH Login Email Alerts”

  1. Hi there,

    It’s possible to configure this alert only in some specific time of the day ?

    Like when i’m out of the company ?

    Thank you.

    Reply
  2. Dear Ravi Saive,

    I want to thank you, I learned a lot from your posts. This post works great. After I put these codes in the bashrc file, I receive email notification immediately when I login SSH.

    The smtp port 25 should be open and we should make sendmail or postfix working. Otherwise no emails go out.

    And if the email account has message arrival notification function to mobile phone, we receive sms messages when users login with SSH.

    Thank you very much.

    Lampk

    Reply
  3. Gr8 document. is it possible get system or root access alert on android mobile phone ? i checked with gnokii but for that we need nokia phone but i want to configure it on android phone.

    Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.