Plesk for Windows
kb: how-to
Plesk for Linux
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to disable the Google Authenticator or the Multi-Factor Authentication (MFA) extension via CLI?
Answer
1. Connect to the Plesk server via SSH (Linux) / RDP (Windows Server).
2. Run the following command to disable the extension (on Windows Server, start a command prompt as an Administrator):
For Google Authenticator
plesk bin extension --disable google-authenticator
To completely remove the extension, run:
plesk bin extension --uninstall google-authenticator
For Multi-Factor Authentication (MFA)
plesk bin extension --disable mfa
To completely remove the extension, run:
plesk bin extension --uninstall mfa
Additional Information
To enable the extension again:
-
Go to Plesk > Extensions > My Extensions > Google Authenticator (or Multi-Factor Authentication) > More > Enable.
-
In a command-line interface:
For Google Authenticator:plesk bin extension --enable google-authenticator
For Multi-Factor Authentication (MFA):
plesk bin extension --enable mfa
Comments
1 comment
If you get this message:
The extension google-authenticator is not installed.
exit status 1
Try this instead:
plesk bin extension --disable mfa
Please sign in to leave a comment.