System-wide SSH login notifications with Pushbullet
Dec 21, 2014I recently found about Pushbullet, a service and set of applications which allows you to share notifications and other text messages between your devices. They also provide a convenient API, making it easy to send notifications from scripts or other programs.
In a quest to secure my personal server, I wanted to get a notification for each
SSH login. I found some solutions online, but they weren’t
waterproof (relying on per-user .profile
modifications) or were a bit too
hackish for my taste (actively tail
ing auth.log
).