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?.
- 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):
- Run PuTTY.
- 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.
- Choose Windows > Translation and select UTF-8 from the Received data assumed to be in which character set: drop-down list box.
- Click Open.
- 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