Skip to content
项目

vdeville/ssh-login-alert-telegram

在 GitHub 查看

关于

Recieive telegram notfications when user connect to a server

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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/vdeville/ssh-login-alert-telegram

  1. Edit two configuration variables by editing credentials.config:

vim credentials.config

  1. Add this script when user connect with the deploy script:

bash deploy.sh

  1. 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/vdeville/Deploy-Telegram-SSH-Alerting-with-Ansible (fork of initial @stylernico work)

探索相关项目

加载中…