Mohamed Magdy

I work directly on live Linux server incidents — from compromised systems and malware infections to high CPU usage, service crashes, and production outages. My focus is fast diagnosis, controlled recovery, and long-term hardening.

Mohamed Magdy
SSH Two-Factor Authentication (TOTP) on CloudLinux 9 + cPanel

SSH Two-Factor Authentication (TOTP) on CloudLinux 9 + cPanel

OS: CloudLinux 9 Panel: cPanel/WHM Method: TOTP via pam_google_authenticator Supports: Key + TOTP and Password + TOTP simultaneously Table of Contents * Prerequisites * Installation * PAM Configuration * SSH Daemon Configuration * User Enrollment * Sharing a Secret (Shared Root Setup) * Authentication Flow Reference * Offboarding a Team Member * Troubleshooting * Reverting Everything Prerequisites * Root access

By Mohamed Magdy