forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
4.3 KiB
4.3 KiB
Logging In to a BMS Using an SSH Password
Scenarios
This section describes how to log in to a Linux BMS using an SSH password from a Windows or Linux PC.
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 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.
- By default, login to a Linux BMS using an SSH password is disabled. If you want to use this function, log in to the BMS (see Logging In to a BMS Using an SSH Key Pair) and enable the function. For details, see How Do I Set SSH Configuration Items?
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
Parent topic: Logging In to a Linux BMS
