Skip to content

Script collection for SSH User Login notifications over Pushover.net

License

Notifications You must be signed in to change notification settings

tejado/shelltracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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             /root/shelltracer/exec.sh

(Optional) Telegram-integration

To send notifications via telegram, the telegram-cli is required. (https://github.com/vysheng/tg). You need to initiate the telegram-cli once and register yourself with your mobilenumber. A user name must be activated in the telegram account on the mobile device.

Edit your information in the config file.

Demo

screenshot_lockscreen screenshot_pushover

About

Script collection for SSH User Login notifications over Pushover.net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages