This topic describes how to create an SSH key pair in the Elastic Compute Service (ECS) console. After an SSH key pair is created, its private key is automatically downloaded. You must securely store the private key and ensure its confidentiality. To log on to an ECS instance to which an SSH key pair is bound, you must provide the private key. You can have a maximum of 500 key pairs within a region.
Procedure
Result
Notice Private key files are downloaded to your computer only when Auto-create is selected.
Private key files are not saved in the ECS console and cannot be recovered if they
are lost. Make sure that you securely store your private key files and ensure their
confidentiality.
What to do next
- For information about how to bind a key pair to an instance, see Bind an SSH key pair to an instance.
- For information about how to log on to an instance by using a key pair, see Connect to a Linux instance by using an SSH key pair.