An open API service indexing awesome lists of open source software.

https://github.com/jaemk/pushlogin

send pushbullet notification on successful ssh login
https://github.com/jaemk/pushlogin

Last synced: 10 months ago
JSON representation

send pushbullet notification on successful ssh login

Awesome Lists containing this project

README

          

# pushlogin.py
Sends pushbullet notification on successful ssh login

Requires:
* [pushbullet.py](https://github.com/randomchars/pushbullet.py)
* A pushbullet api key.
* clone this repo and create a virtualenv in pushlogin `virtaulenv -p python3.x pbenv`
* `pip install -r requirements.txt`
* rename settings_copy.py to settings.py
* update settings.py with _your_ secret pushbullet key
* update settings.py with the virtual env name (default is pbenv)

Add a line to your /etc/bash.bashrc (for all users) or ~/.bashrc (for current user only)
`/path/to/ssh_login.py`