Slack alert ssh login

From SWKLS WIKI
Revision as of 13:39, 26 March 2020 by Unknown user (talk) (Enable Slack alerts on ssh login to Linux server)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SSH Login Alerts to Slack Channel

Edit .bash_profile and add:

sh /home/<username>/scripts/login.sh