Why Am I Getting Multiple Root Login Alerts (Slack or Email)?

If you notice duplicate root login alerts from cPFence — sometimes 7–8 Slack or email notifications for what looks like the same login — this usually happens when multiple sessions are opened at once. This can be triggered by the cPFence WebUI or by certain SSH clients that establish parallel connections.

Step 1: Whitelist Your Server IPs

To prevent unnecessary root login alerts from your own servers, whitelist your cluster IPs. This ensures that internal system logins do not generate repeated notifications.

How to Whitelist Your Enhance Cluster’s IPs in cPFence

Step 2: Check Your SSH Client Settings

Some SSH clients create multiple sessions in the background (for example, when multiplexing connections). Each of these sessions triggers its own root login alert in Slack or email. Reviewing and adjusting your SSH client settings can help reduce duplicate alerts.

Step 3: Review Recent Logins

To confirm how many root login sessions are actually being created, review your SSH logs:

journalctl -u ssh --since=-15min --no-pager

This will show all root login events within the last 15 minutes, including multiple parallel sessions if they exist.

Step 4: How cPFence Sends Alerts

cPFence sends one alert per new session. If several sessions are created, you will see multiple root login alerts, whether by Slack or email. This is expected behavior and ensures that every access attempt is logged and reported.

 


Need Further Assistance?

If you continue to receive duplicate root login alerts and need help tuning Slack or email notifications, please reach out to our support team via your client portal.

 

  • slack, root login alerts
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Is cPFence Compatible with Cloudflare, BunnyCDN and Quic.Cloud?

Yes, cPFence is fully compatible with Cloudflare, Quic.Cloud, and BunnyCDN. In fact, we recommend...

Why Do I See "could not change directory to /root: Permission denied" Warnings?

You may occasionally encounter the following warning message while using cPFence: could not...

How to Uninstall cPFence ?

If you need to remove cPFence from your system, follow the steps below to uninstall the software...

Configuring Hostname on Ubuntu for cPFence Emails and Features

Setting a proper hostname on your server is important for several reasons, including being able...

How to Set Up Slack Notifications in cPFence?

If you'd like to receive cPFence alerts on your desktop or mobile via Slack, follow the steps...