SSH login Alert Telegram bot

from https://github.com/vdeville/ssh-login-alert-telegram
apt-get -y install git
cd /opt/ && git clone https://github.com/vdeville/ssh-login-alert-telegram.git

or
mkdir /opt/ssh-login-alert-telegram
cd /opt/ssh-login-alert-telegram
wget --no-check-certificate https://raw.githubusercontent.com/vdeville/ssh-login-alert-telegram/master/alert.sh
wget --no-check-certificate https://raw.githubusercontent.com/vdeville/ssh-login-alert-telegram/master/credentials.config
wget --no-check-certificate https://raw.githubusercontent.com/vdeville/ssh-login-alert-telegram/master/deploy.sh

vim credentials.config
#change USERID=999999999 //my-target profile id chat from @userinfobot
#change KEY="1111111111:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" //key bot api from @botfather
find USERID with https://t.me/userinfobot
create telegram bot for KEY with https://t.me/BotFather

test api
https://api.telegram.org/bot1111111111:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/sendMessage?chat_id=999999999&text=HelloWorld

Deploy && test login ssh for Alert work
bash deploy.sh
#if show "No zsh detected", yum/apt-get install -y zsh

Blog | , ,
Line it!