Today I learned
  • Home
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
Subscribe
Tagged

alert

A collection of 1 post

til

Email notification when someone logs in via SSH

To setup email notification, login to your server as root. Edit .bashrc vim .bashrc add the following line at the end, changing "ServerName" to the host-name of your server and "me@til.codes" to your own email address. echo 'ALERT - Root Shell Access (Server-name) on:

  • Manu S Ajith
Manu S Ajith Jul 13, 2015 • 1 min read
Today I learned © 2022
Powered by Ghost