This program notifies you of successful SSH login attempts. It parses the
/var/log/auth.log file and sends you an alert via the supported platforms containing the user and source IP address.
You can use the packages (deb/rpm) or the precompiled binary from the releases section.
The configuration file is by default located in
/etc/loginnotifier/config.json. To specify a different location use the
In case the file doesn't exist it will be created during startup.
Currently supported platforms:
To enable alerts for a specific platform set the config option
To use Discord alerts you have to specify the Webhook URL, the username for the alerts and an avatar url. You can find more information about Discord Webhooks here.
By default this program uses the
/var/log/auth.log file to detect new sessions. You can specify a different file with the config option