A lightweight, terminal-based dashboard for monitoring active SSH sessions, sending webhook alerts, and managing connections in real-time.
SSH-Eye is a modern, lightweight monitoring tool designed for Linux servers that provides real-time visibility into SSH activity. Built with C++ and FTXUI, it offers a beautiful terminal user interface (TUI) to track connected users, identify potential security threats, and manage active sessions instantly.
Beyond simple monitoring, SSH-Eye acts as a sentinel for your server, integrating seamlessly with communication platforms like Telegram, Slack, and Mattermost/Discord to send instant webhook alerts whenever a new SSH connection is detected. It empowers administrators to kill suspicious sessions directly from the dashboard and inspect running processes for each connection, all without leaving the terminal.
auth.log, secure, messages) on various Linux distros.Add screenshots here
Download the latest binary from the Releases page.
chmod +x ssh-eye
sudo ./ssh-eye
libcurl development headerssudo apt update
sudo apt install build-essential cmake libcurl4-openssl-dev
sudo pacman -S base-devel cmake curl
git clone https://github.com/klpod221/ssh-eye.git
cd ssh-eye
mkdir build && cd build
cmake ..
make -j$(nproc)
To use all features (including killing sessions and reading system logs), run with sudo:
sudo ./ssh-eye
Or use the provided Makefile shortcut:
make run-sudo
| Key | Action |
|---|---|
↑ ↓ |
Navigate session list |
D |
Toggle Process Detail panel |
K |
Kill selected session (Root only) |
Y / N |
Confirm / Cancel Kill action |
Tab |
Switch between Dashboard / Settings / About |
q |
Quit application |
Configuration is stored in ~/.config/ssh-eye/config.json. You can edit this file manually or use the Settings tab in the application.
{
"webhook_url": "https://your-webhook-url...",
"platform": 0, // 0: Telegram, 1: Slack, 2: Mattermost, 3: Custom
"enable_alerts": true
}
This project is licensed under the MIT License - see the LICENSE file for details.