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
- Host: GitHub
- URL: https://github.com/jaemk/pushlogin
- Owner: jaemk
- Created: 2015-12-14T17:40:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-22T00:19:59.000Z (about 9 years ago)
- Last Synced: 2025-01-20T00:47:31.460Z (12 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`