Logging In to a Linux HECS Using an SSH Password
Scenarios
This section describes how to remotely log in to a Linux HECS using an SSH password from Windows and Linux.
Prerequisites
- The target HECS is running.
- The HECS has an EIP bound.
- Access to port 22 is allowed in the inbound direction of the security group to which the HECS belongs. For details, see Configuring Security Group Rules.
- The network connection between the login tool (PuTTY) and the target HECS is normal. For example, the default port 22 is not blocked by a firewall.
Logging In to the Linux HECS from Local Windows
To log in to the Linux HECS from local Windows, perform the operations described in this section.
The following example shows how to access a Linux HECS using an SSH password.
The following operations use PuTTY as an example for logging in to the HECS.
- Visit the following website and download PuTTY and PuTTYgen:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- Run PuTTY.
- Click Session.
- Host Name (or IP address): EIP bound to the HECS
- Port: 22
- Connection type: SSH
- Saved Sessions: task name, which can be clicked for remote connection when you use PuTTY the next time Figure 2 Session
- Click Window. Then, select UTF-8 for Received data assumed to be in which character set: in Translation.
- Click Open.
If you log in to the HECS for the first time, PuTTY displays a security warning dialog box, asking you whether to accept the HECS security certificate. Click Yes to save the certificate to your local registry.
- After the SSH connection to the HECS is set up, enter the username and password as prompted to log in to the HECS.
The username and password for the first login to the HECS created using a public image (including CoreOS) are as follows:- Username: root
- Password: the one you set when you purchased the HECS
Logging In to the Linux HECS from Local Linux
To log in to the Linux HECS from local Linux, run the following command:
ssh EIP bound to the HECS
Last Article: Login Using VNC
Next Article: Logging In to a Linux HECS from a Mobile Terminal
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.