Two Factor Authentication for cPanel

  1. SSH into your server with the root user.
  2. Type the following commands:
    cd /tmp/
    git clone
    cd cpanel_addon-twostepauth/
  3. Wait for the installation to finish then log into your WHM as the root user.
  4. Use the search bar to find Configure Security Policies.
  5. Click the check box next to TwoStepAuth Security Policy and hitsave.
  6. Use the search bar again to look up cPanel Two Step Auth. Click on it to proceed.
  7. Click Config.
  8. Select the Enable radio option then click save. Once you have done this you may click Return.
  9. Now that we have the plugin enabled, log into your cPanel account and find the icon for TwoStepAuth. Click on it to proceed.
  10. Once the plugin loads click enable and scan the QR code with your Google Authenticator app.
  11. Next time you log into your cPanel account it will ask for a code after you have logged in with your username and password. Enter the six digit code from your Google Authenticator app then click theTwoStepAuth_authenticate button
Was this answer helpful?

Related Articles

How do I create and remove an Addon Domain?

An addon domain is a secondary domain hosted on a cPanel account. Addon domains typically have...

How do I login to Cpanel

  We begin to login at the Portal Home. This is the Login Page for the Client Area of WHMCS. It...

Advanced and Simple DNS Zone Editor

Click here for the Simple and Advanced DNS Zone Editor Instructions

Uploading your website in cPanel guide

running cPanel, through the cPanel File Manager. 1. Log into the customer (cPanel) portal at...

How to create an email account

How to create email account in cPanel  In order to create new email account in cPanel, follow...