geco2 / shelltracer

Script collection for SSH User Login notifications over Pushover.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shelltracer

Small sh script collection for SSH User Login notifications over pushover.net.
Can also be used for other notifications, like OS startups, letsencrypt renewal, ...! Only limited by you imagination!

Installation

Download the repo files, copy "config.sample" to "config" and adjust it. Then add following line to your /etc/pam.d/sshd file:

session         optional        pam_exec.so             /bin/bash /root/shelltracer/tracer.sh

Adjust the path to bash to reflect your systm confiuration.

Demo

screenshot_lockscreen screenshot_pushover

About

Script collection for SSH User Login notifications over Pushover.net

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%