Updated on 2024-05-22 GMT+08:00

Remotely Logging In to a BMS

Scenarios

If common remote connection software (such as PuTTY) is unavailable, you can use the remote login function on the management console to log in to a BMS.

Constraints

  • Only Linux BMSs support remote login.
  • Only the user who creates a BMS or users with the Tenant Administrator or Server Administrator role can log in to the BMS remotely.
  • When you log in to a BMS remotely, shortcut keys such as Ctrl and Alt are not well supported. For example, if you enter Alt + ASCII code, multiple special characters are displayed.
  • Before exiting the management console, log out of the OS.

Prerequisites

  • The BMS must be in Running state.
  • You have set a login password when creating the BMS. If you did not set a password or forget the password, you can reset the password.
  • If you selected the key pair login mode when creating the BMS, log in to the BMS by following the instructions in SSH Key Pair and set a password for the BMS. The detailed operations are as follows:
    Log in to the BMS using the key pair, switch to user root, and run the passwd command to set a password for user root.
    Figure 1 Setting a password for user root

Procedure

  1. Log in to the management console.
  2. Under Computing, click Bare Metal Server.

    The BMS console is displayed.

  3. Locate the row that contains the target BMS and click Remote Login in the Operation column.

    After about one minute, the login page is displayed. Press Enter and enter username root and password to log in.