Knowledgebase

Two Factor Authentication for cPanel Print

  • 122

  1. SSH into your server with the root user.
     
  2. Type the following commands:
    cd /tmp/
    git clone https://github.com/steadramon/cpanel_addon-twostepauth.git
    cd cpanel_addon-twostepauth/
    ./install
     
  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?
Back