How to Set Up Telegram Alerts for SSH Logins on Debian

Securing your Virtual Private Server (VPS) is critical. A simple and effective way to monitor access is to receive real-time notifications for every successful SSH login. This guide provides a step-by-step walkthrough for setting up instant Telegram alerts on a Debian-based server, giving you immediate awareness of all shell access. 1. Prerequisites Before you begin, ensure you have the following: A server running a Debian-based Linux distribution. sudo or root access to the server. A Telegram account. curl and jq installed on your server. If you don’t have them, install them now: sudo apt-get update && sudo apt-get install -y curl jq 2. Create a Telegram Bot Your alerts will be sent by a Telegram Bot. ...

September 13, 2025 · 3 min

Setting Up Claude Code Review Before Push

Setting Up Claude Code Review Before Push This guide will help you set up an automated code review system using Claude Code that runs before every git push, with the option to skip when needed. Prerequisites Claude Code CLI installed and configured Git repository with proper remote setup Terminal access Step 1: Create the Pre-Push Hook Script Create a git hook that will run before every push: # Navigate to your project root cd /path/to/your/project # Create the hooks directory if it doesn't exist mkdir -p .git/hooks # Create the pre-push hook file touch .git/hooks/pre-push # Make it executable chmod +x .git/hooks/pre-push Step 2: Generated Review Reports Every code review automatically generates a timestamped markdown report with complete analysis: ...

August 20, 2025 · 8 min