https://github.com/vdeville/ssh-login-alert-telegram
Recieive telegram notfications when user connect to a server
https://github.com/vdeville/ssh-login-alert-telegram
alert audit connections debian linux login security ssh telegram ubuntu
Last synced: 10 months ago
JSON representation
Recieive telegram notfications when user connect to a server
- Host: GitHub
- URL: https://github.com/vdeville/ssh-login-alert-telegram
- Owner: vdeville
- License: gpl-3.0
- Created: 2017-05-21T18:53:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-27T10:02:39.000Z (about 5 years ago)
- Last Synced: 2023-11-07T19:00:52.333Z (about 2 years ago)
- Topics: alert, audit, connections, debian, linux, login, security, ssh, telegram, ubuntu
- Language: Shell
- Homepage:
- Size: 108 KB
- Stars: 159
- Watchers: 9
- Forks: 62
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Alert via telegram when user logon via SSH
Work on all popular linux system (Debian, Ubuntu, Arch Linux etc..)

### Requirement
- curl
- git (much easy to install)
### Install
1) Clone or download to /opt/ folder
```cd /opt/ && git clone https://github.com/MyTheValentinus/ssh-login-alert-telegram```
2) Edit two configuration variables by editing credentials.config:
```vim credentials.config```
3) Add this script when user connect with the deploy script:
```bash deploy.sh```
4) Confirm that the script is working by logging you to ssh again.
### Install with Ansible
If you have many servers go check: https://github.com/MyTheValentinus/Deploy-Telegram-SSH-Alerting-with-Ansible (fork of initial @stylernico work)