Changes

From Amahi Wiki
Jump to: navigation, search
165 bytes added ,  15:02, 3 August 2014
no edit summary
This guide shows a simple way to know when someone logged in as root or normal user using [[Key-Based SSH Logins|Secure Shell (SSH)]]. It will send an email alert notification to the specified email address along with the IP address of last login.
 
 
'''NOTE:''' You must have configured your HDA to send emails. One way to do so is by following the [[Outgoing_mail_via_gmail|Outgoing mail via Gmail]] guidance.
* [[Open_Terminal|As root user]] create ''ssh_email_alert.sh'' with the following text:
12,424

edits