Simple configurable script that will send an alert email when a user logs into an the system. Also prints the system and service status of the server to the user that is logging in.
- Optional email alert when someone logs into the system.
- Define your own recipients for the alert.
- Ignore logins from a list of IP address es.
- Optional welcome message with system statuses.
- Define your own services that will be tested on login.
- Color output
- Linux OS with bash
- Root access
- Installed mail for seding mails
- Download the script to your /etc/profile.d folder
- Configure the script to match your needs
- Login via ssh to test it
wget https://github.com/IntellexApps/ssh_notify/raw/master/ssh_notify.sh -O /etc/profile.d/ssh_notify.sh && chmod +x /etc/profile.d/ssh_notify.sh
Script has been written by the Intellex team.