DeadlockState / SSH-login-Telegram-notification

Sends a Telegram notification when a user is connecting on one of your servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSH-login-Telegram-notification Build Status

About

Sends a Telegram notification when a user is connecting on one of your servers

Screenshots

screenshot

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 and telegramchatid variables in Telegram_notification.sh with your Telegram bot token and your Telegram user ID

Source

GitHub Valentin Deville and his ssh-login-alert-telegram version

Contact me

Twitter @Punk__R0ck

About

Sends a Telegram notification when a user is connecting on one of your servers


Languages

Language:Shell 100.0%