You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Logging in to a Linux instance
Logging in to a Linux instance on a Linux host
Copy page
Download PDF
Logging in to a Linux instance on a Linux host
Applicable scenarios​
This topic describes how to log in to a Linux ECS instance when your local host runs a Linux operating system.​
​
Operating system of the local host​
Operating system of ECS instance​
Login tool on local host​
Login authentication method​
Linux​
Linux​
SSH command​
Password and key​
​
Prerequisites​
  • Make sure that the ECS instance you log to in meets the conditions in the Login restrictions.​
Login procedure​
​
Password login
Key login
​
  1. Run the following SSH command.​
  • ​
    ssh <The username of the Linux ECS instance>@<The EIP address of the Linux ECS instance>​
    ​
  1. Enter the login password that matches the Linux instance username, and then press Enter to log in to the Linux ECS instance.​
​
​
Last updated: 2026.06.18 16:22:21