{"repo":"Linuxmaster14/ssh-login-notify","free":true,"listed":false,"github":"https://github.com/Linuxmaster14/ssh-login-notify","clone":"git clone https://github.com/Linuxmaster14/ssh-login-notify.git","description":"Simple bash script that sends instant notifications to your phone when someone logs into your SSH server via ntfy.sh","language":"Shell","stars":13,"topics":["alert","bash","linux","monitoring","notification","ntfy","security","ssh","systemd"],"license":"MIT","category":"security-tools","readme_excerpt":"SSH Login Notifier A simple, lightweight script that sends notifications via ntfy.sh whenever someone logs into your SSH server. Get real-time alerts about SSH logins directly on your phone or browser. Features - Real-time notifications for SSH logins - Captures username and IP address of the person logging in - Easy setup via the installation script - Runs as a systemd service - Configurable without modifying the script Requirements - Linux server with systemd - Bash shell - curl command installed - Access to /var/log/auth.log (or equivalent SSH log file) Quick Installation 1. Clone this repository: 2. Run the installation script with an optional topic name: If you don't provide a topic name, the script will ask for one or generate a random one. 3. The script will display your ntfy.sh topic. Subscribe to this topic to receive notifications. 4. If needed, you can modify settings: Receiving Notifications You can receive notifications in several ways: 1. Web browser: Visit https://ntfy.sh/your-topic-name 2. Mobile app: Download the ntfy app for Android or iOS and subscribe to your topic 3. Command line: curl -s https://ntfy.sh/your-topic-name/json Manual Installation If you prefer to install manually: 1. Place the script in /opt/ssh-login-notify/ssh login notify.sh 2. Make it executable: chmod +x /opt/ssh-login-notify/ssh login notify.sh 3. Create config directory: mkdir -p /etc/ssh-login-notify 4. Create a config file: nano /etc/ssh-login-notify/config with the following conte","default_branch":null,"files":null,"tree":[],"storefront":"/r/Linuxmaster14","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Linuxmaster14/ssh-login-notify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}