• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. User Guide
  4. Instance
  5. Logging In to a Linux BMS
  6. Logging In to a BMS Using a Password

Logging In to a BMS Using a Password

By default, login to Linux BMSs using the password is disabled. If you want to use this function, log in to the BMS (see section Logging In to a BMS Using an SSH Key Pair) and enable the function. For details, see section How Should I Set SSH Configuration Items?.

Prerequisites

  • The BMS must be in Running state.
  • You have bound an EIP to the BMS. For details, see Binding an EIP to a BMS.
  • You have configured the inbound rules of the security group. For details, see section Adding Security Group Rules.
  • The network connection between the login tool (such as PuTTY) and the target BMS is normal. For example, the default port 22 is not blocked by the firewall.
  • SSH login to BMSs using the password is enabled.

Log In to a BMS from a Windows PC

You can use the following methods to log in to a Linux BMS from a local PC running Windows (for example, use PuTTY):

  1. Run PuTTY.
  2. In the navigation pane on the left, choose Session, enter the EIP of the BMS in the text box under Host Name (or IP address), and select SSH for Connection type.
  3. Choose Windows > Translation and select UTF-8 from the Received data assumed to be in which character set: drop-down list box.
  4. Click Open.
  5. Enter username root and the password you set to log in to the BMS.

Log In to a BMS from a Linux PC

To log in to a Linux BMS from a Linux PC, run the following command:

ssh EIP of the BMS