File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 11## Alert via telegram when user logon via SSH
22
3- Work on all popular linux system (Debian <3 , Ubuntu, Arch Linux etc..)
3+ Work on all popular linux system (Debian, Ubuntu, Arch Linux etc..)
44
55![ Example] ( msg.png )
66
77### Requirement
88- curl
9- - git
10-
11-
9+ - git (much easy to install)
1210
1311### Install
14- 1 ) Clone to /opt/ folder
15- ``` cd /opt/ && git clone https://github.com/stylersnico /ssh-login-alert-telegram ```
12+ 1 ) Clone or download to /opt/ folder
13+ ``` cd /opt/ && git clone https://github.com/MyTheValentinus /ssh-login-alert-telegram ```
1614
17- 2 ) Edit two configuration variables by editing alert.sh :
18- ``` vim alert.sh ```
15+ 2 ) Edit two configuration variables by editing credentials.config :
16+ ``` vim credentials.config ```
1917
20183 ) Add this script when user connect with the deploy script:
21- ``` sh deploy.sh```
19+ ``` bash deploy.sh```
2220
23- 4 ) Confirm that the script is working by logging to ssh again.
21+ 4 ) Confirm that the script is working by logging you to ssh again.
2422
2523
2624### Install with Ansible
You can’t perform that action at this time.
0 commit comments