Enable Google Authenticator with Plesk

Enable Google Authenticator with Plesk

Enable Google Authenticator with Plesk

Objective: This extension offers additional user account protection with multi-factor authentication. After enabling Google Authenticator, a second step is added to the Plesk login procedure: in addition to their password, users must provide a one-time passcode generated by the Google Authenticator application installed on their mobile device.

Plesk KB: https://support.plesk.com/hc/en-us/articles/12377343052183-Is-it-possible-to-configure-multi-factor-authentication-MFA-to-access-Plesk

   Step 1: follow the steps to install google-authenticator extension

1: Visit the URL http://<your_domain>:8880 or https://<your_domain>:8443 (For SSL) and login using your username and password.

2. Go to Extension from left-menu, go to my extension, select the authentication from the top dropdown to filter types. Click on Google Authenticator.


3. Click on Install.


4. Extension is successfully installed.


5. Now click go to extension.


6. Enable the multi-factor authentication, it will expand with following details.
   You can enable it by, Scanning the QR code with your smart phone, and key in the verification code inside the input field.
   Or you can use the "Could not scan the barcode?" link and configure the account name and key on Google Authenticator apps installed on your smart phone.


7. On success a pop-up will shown.


 

   Step 2: Steps to access the dashboard  by login with Google Authentication

1. Visit the URL http://<your_domain>:8880 or https://<your_domain>:8443 (For SSL) and login using your username and password. A pop-up will open as given below,


2. Input the code that shown in your Mobile App and click OK.


3. Logged in successfully, now the plesk dashboard will appear.
 

   Step 3: To disable or remove the extension, steps are as follows

1. Go to Extension, and click on My Extension.
   Select the Google Authentication and click on Disable or Remove button.

Note: Please clear Google Authenticator application's cache every 30 days to work it properly.

Common Issues:

If I have lost my phone. How can I access the Plesk panel?
If user have lost his phone, they need to change the secret account key or barcode which user have to configured at his mobiles for security reason.

1. Go to the server's backend (Shell access) and run the below given command to disable the plugin. Then you will have the direct access again to plesk panel.

# /usr/local/psa/bin/extension -l (To get the correct name of Google Authenticator extension)
# /usr/local/psa/bin/extension -u <name> (to remove the extension)


2. Then client need to uninstall the security plugin and reinstall it from Extensions tab to change the secret account key or barcode which user have to configure their mobiles.

# cd /usr/local/psa/admin/plib/modules/google-authenticator
# mv /usr/local/psa/admin/plib/modules/google-authenticator /usr/local/psa/admin/plib/modules/google-authenticator-old

If client want to change the secret account code or barcode

If client want to change the secret account key or barcode which user have to configure their mobiles. Client need to uninstall the security plugin and reinstall it from Extensions tab.



    • Related Articles

    • How to configure two-factor authentication in zimbra webmail

      Two-factor authentication in zimbra webmail Two-factor authentication in Outlook Two-factor authentication in zimbra webmail 1. Login to the Webmail. 2. Go to the Preferences > Accounts. Scroll down the page and click on Setup two-step ...
    • Secure SSH with Google Authenticator Two-Factor Authentication on CentOS

      Two-Factor Authentication on CentOS for root user Server level activities 1. Install the open source Google Authenticator PAM module # yum install google-authenticator 2. To get the verification code # google-authenticator 3. We need to make changes ...
    • Enable per-user Microsoft multifactor authentication

      Enable per-user Microsoft Entra multifactor authentication video tutorial: https://www.youtube.com/watch?v=kw28X0c5ZwE Step 1: Enable Modern Authentication in Office 365 The modern authentication framework adds an extra layer of security for users ...
    • Enable Two Factor Authentication 2FA on WHM and Cpanel

      Enable Two Factor Authentication 2FA on WHM and Cpanel Enable 2FA on WHM Enable 2FA on Cpanel Enable 2FA on WHM Panel with Root User Step 1: Click on WHM >> Two Factor Authentication and toggle the bar to make it enabled and click on save. Step 2: ...
    • Enable Sendmail mail relay in Plesk without authentication

      Enable Sendmail mail relay in Plesk without authentication Symptoms: Mails generated by contact forms or scheduled tasks are not sent. Cause: The Sendmail utility is disabled. Resolution: Allow users and scripts to use Sendmail. 1. Log in to Plesk. ...