Supercharge Your Server Security with Real-Time SSH Monitoring!
Mojahid Ul Haque
DevOps Engineer
Supercharge Your Server Security with Real-Time SSH Monitoring!
Server security is crucial in today's world. I've developed a Bash script to automate SSH login monitoring, keeping your systems secure 24/7.
What Does It Do? 1. Real-Time Alerts: The script continuously monitors SSH logins and logouts from /var/log/auth.log, and sends instant alerts to a Google Chat space. 2. Geo-Location Enrichment: Captures login details (IP, country, city) to identify suspicious logins. 3. Connection Tracking: Track the number of active SSH connections, and monitor the session count per IP. 4. Session Duration & Insights: For every logout, the script calculates how long a session lasted. 5. Google Chat Integration: All critical login/logoff events trigger Google Chat notifications.
Originally posted on LinkedIn
View original postRelated Posts
Automating Server Setup with a Bash Script
Automating Server Setup with a Bash Script Hey everyone! I wanted to share a bash script I wrote to streamline the initial setup of a new server. Setting up servers can be repet...
Check IP Location, Fraud Risk & Security Health - ip.crafzo.com
It's an IP Geolocation & Health Analyzer that lets you: - Pinpoint any IP's city, region, and country - Run Fraud Risk Analysis with detailed scoring - Check overall IP security...
Most DevOps problems aren't tech problems - They're organizational chaos wearing a YAML hoodie
Most "DevOps problems" aren't tech problems. They're just organizational chaos wearing a YAML hoodie. We love to buy tools to fix culture. It never works. If you want to actuall...