/ssh-notifications

Get some notifications upon successful SSH

Primary LanguageShell

ssh-notifications

Originally based off of Sandrino Di Mattia's post "Posting successful SSH logins to Slack". Additional modifications as detailed in my post "Pushing successful SSH logins to PushBullet"

Getting Tokens

How to use:

  • cp ./notify.sh /etc/ssh/notify.sh
  • chmod a+x /etc/ssh/notify.sh
  • printf "\nsession optional pam_exec.so seteuid /etc/ssh/notify.sh\n" >> /etc/pam.d/sshd
  • try SSH'ing into your server

License

This repo is licensed under: CC-0 1.0 / Public Domain.