If you prefer to use another key generation tool, you can use it to generate an RSA key pair and then import its public key into Alibaba Cloud. See SSH key pairs for the supported types of imported key pairs.
To import an SSH key pair, you must have a key pair that has been generated using another tool. The public key to be imported into Alibaba Cloud must be Base64-encoded.
To import an SSH key pair, follow these steps:
- Log on to the ECS console.
- In the left-side navigation pane, select .
- Click Create SSH Key Pair.
- Select a region.
- On the Create SSH Key Pair page, enter a name for the key pair, and select Import SSH Key Pair, and then enter the Public Key.
Note The specified key pair name must not be the same as that of an existing key pair or a key pair that was bound to an instance before being deleted. Otherwise, an error message “The key pair already exists” appears.
- Click OK.
After creation, you can view the information, including the key pair Name and Fingerprint, in the key pair list.