Pushing successful SSH logins to PushBullet
January 25, 2016
On Friday I ran across Sandrino Di Mattia’s post “Posting successful SSH logins to Slack” which was very easy and a very nifty idea. Already most of my notifications from various systems (Datadog, Tutum, Twitter, etc) are gathered into a notification channel on Slack, so I jumped on the chance to try out this script. It worked great, but I realized there was one major issue: my slack notifications are plentiful and passive. I have only a few internet accessible servers and I care about them a great deal, so I want to know if anyone is accessing them (since it should only be me). So I added push notifications for successful SSH logins!