https://github.com/tejado/shelltracer
Script collection for SSH User Login notifications over Pushover.net
https://github.com/tejado/shelltracer
Last synced: 3 months ago
JSON representation
Script collection for SSH User Login notifications over Pushover.net
- Host: GitHub
- URL: https://github.com/tejado/shelltracer
- Owner: tejado
- License: gpl-3.0
- Created: 2016-09-21T10:21:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-06T14:34:09.000Z (over 4 years ago)
- Last Synced: 2025-10-09T05:04:48.866Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shelltracer
Small sh script collection for SSH User Login notifications over [pushover.net](https://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

