SSH-login-Telegram-notification
About
Sends a Telegram notification when a user is connecting on one of your servers
Screenshots
Installation
Pre-requisites
- curl installed on your server
- A Telegram Bot (see here how to create a new Telegram bot)
- Your Telegram user ID (you can get it here)
cd /etc/profile.d/
wget https://raw.githubusercontent.com/Punk--Rock/SSH-login-Telegram-notification/master/Telegram_notification.sh
- Edit
telegrambot
andtelegramchatid
variables in Telegram_notification.sh with your Telegram bot token and your Telegram user ID
Source
Valentin Deville and his ssh-login-alert-telegram version