Slack alert ssh login: Difference between revisions

From SWKLS WIKI
Jump to navigation Jump to search
(Enable Slack alerts on ssh login to Linux server)
 
No edit summary
Line 3: Line 3:


Edit .bash_profile and add:
Edit .bash_profile and add:
 
<syntaxhighlight lang="bash" line start="1">
sh /home/<username>/scripts/login.sh
sh /home/<username>/scripts/login.sh
</syntaxhighlight>

Revision as of 13:41, 26 March 2020

SSH Login Alerts to Slack Channel

Edit .bash_profile and add:

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