Updated on 2024-04-15 GMT+08:00

How Do I Use 2FA?

This FAQ shows you how to use 2FA.

Enabling 2FA

For details, see Enabling Two-factor Authentication.

Logging In and Passing 2FA Authentication

  • Logging in to a Linux server
    1. Use PuTTY or Xshell to log in to your server.

      Select Keyboard Interactive and enter the user identity information.

      • PuTTY

        Set the authentication mode to Keyboard Interactive and click OK.

      • Xshell

        In the New Session Properties dialog box, choose Connection > Authentication > Method, choose Keyboard Interactive from the Method drop-down list, and click OK.

    2. Enter the account and password of the server.
    3. Enter the 2FA verification code sent to your terminal.
      Figure 1 Entering a verification code
  • Logging in to a Windows server
    1. Click Start, enter Remote Desktop Connection in the search box, and press Enter to open the remote desktop connection.
    2. Enter the IP address of the host in the Computer text box and click Connect.
    3. Enter the reserved mobile number or email address to receive 2FA verification code.
    4. Enter the verification code, server account name, and password on the login page, and click to log in to the server.