Skip to content
Get some notifications upon successful SSH
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
notify.sh

README.md

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.

You can’t perform that action at this time.