Skip to content

Recieive telegram notfications when user connect to a server

License

Notifications You must be signed in to change notification settings

MattLoyeD/ssh-login-alert-telegram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alert via telegram when user logon via SSH

Work on all popular linux system (Debian, Ubuntu, Arch Linux etc..)

Example

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)

About

Recieive telegram notfications when user connect to a server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%