• Hello and welcome! Register to enjoy full access and benefits:

    • Advertise in the Marketplace section for free.
    • Get more visibility with a signature link.
    • Company/website listings.
    • Ask & answer queries.
    • Much more...

    Register here or log in if you're already a member.

  • 🎉 WHV has crossed 56000 (56k) monthly views (unique) and 285135 clicks per month, as per Google Analytics! Thank you for your support! 🎉

How to Implement Multi-Factor Authentication (MFA) on VPS Web Panels

johny899

New Member
Content Writer
Messages
859
Reaction score
3
Points
23
Balance
$1,053.6USD
Have you ever feared that someone might gain access to your VPS web panel? Of course I have. That's one more reason to use MFA (Multi-Factor Authentication). MFA seems like a small step, but it protects your servers much better for your users. Let me describe how I use MFA to enhance security on my servers, and why I consider it worthwhile.

Advantages of MFA​

Passwords are no longer sufficient. A hacker can easily guess a password, or even steal it. MFA provides one more layer of authentication before someone is allowed to log in or perform an action. Even if a hacker steals your password, they will still have to get the second factor to log in. Think of MFA as a double lock on your front door; it will not keep out a determined intruder, but it gives you an extra layer of security.

Best Practices for Using MFA​

There are a number of methods for using MFA, and here are the most common methods I use and recommend.

Authenticator Apps: Apps like Google Authenticator, Authy, etc. These methods are fast and standalone, meaning you do not need to be connected to the Internet for them to work.

SMS or email codes: These methods are generally easy to use, but codes can be intercepted.

Hardware keys: A physical key like a YubiKey. While these can be the safest, they can be more expensive.

For day-to-day logging, I use authenticator apps. For my primary admin accounts, I have a hardware key also set up. This provides me with a lot of peace of mind.

How To Enable MFA in Your Web Panel​

Most popular web panels such as cPanel, Plesk, or Webmin already support MFA, and the process is simple to follow:
  • Log in to your panel and go to your security or account settings.
  • Enable MFA and select an option - app, SMS, hardware key, etc.
  • Follow the instructions and scan your QR code directly from the app on your phone.
  • Once you have set your MFA up, check you can login from a second device for a test (if using SMS, or an email, make sure it is a different type of MFA code).
Pro Tip: It is best practice to monitor your backup codes as well. If you ever lose your phone, or if your app stops working (which is rare but can happen), you will have backup codes that will allow you access to your account.

Tips for the Best Use of MFA​

MFA can be even easier to use if you plan ahead:
  • If you're using more than one of the same device (say, two phones or tablets), rename each device to keep track.
  • Create your recovery information and update it.
  • Consider strong passwords in addition to MFA to maximize security.
Many people will turn off MFA because they think it's irritating. You will find that once you set it up and get used to it, it's almost seamless in your everyday usage.