To log in to the Linux ECS from a Windows computer, perform the operations described in this section.
Method 1: Use PuTTY to log in to the ECS.
PuTTYgen is a private key generator, which is used to create a key pair that consists of a public key and a private key for PuTTY.
Ensure that the format of All files (*.*) is selected.
Log in to the ECS.
Method 2: Use Xshell to log in to the ECS.
An example is provided as follows:
chmod 400 /path/kp-123
In the preceding command, path refers to the path where the key file is saved.
ssh -i /path/kp-123 Default username@EIP
For example, if the default username is linux, run the following command:
ssh -i /path/kp-123 linux@EIP
In the preceding command: