/ssh-login-teams-alert-webhook

Send a notification to MS Teams channel when user connect to a server

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Alert via Teams when user logon via SSH

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

HIGHLY inspired by https://github.com/MyTheValentinus/ssh-login-alert-telegram

Requirement

  • curl
  • git (much easy to install)

Install

  1. Clone or download to /opt/ folder, with root permissionned user cd /opt/ && git clone https://github.com/Blue-Secure/ssh-login-teams-alert-webhook

  2. Edit configuration variable by editing credentials.config, its just the Webhook URL given by MS Teams: cd /opt/ssh-login-teams-alert-webhook && 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.