Home  >  Article  >  Operation and Maintenance  >  How to bind and unbind an SSH key pair on the ECS management console

How to bind and unbind an SSH key pair on the ECS management console

坏嘻嘻
坏嘻嘻Original
2018-09-18 16:39:591648browse

This article introduces how to bind and unbind SSH key pairs on the ECS management console, and focuses on the specific steps.

Binding and unbinding SSH key pairs

Usage restrictions

One ECS instance can only be bound to one SSH Key pair.

Except for non-I/O optimized instances of Series I, Linux instances of all instance type families support SSH key pair login.

If the ECS instance is running (Running), after binding or unbinding the SSH key pair, you need to restart the instance for the operation to take effect.

If the ECS instance has been bound to an SSH key pair, after binding the new key pair, the new key will automatically replace the original key.

If the ECS instance uses password authentication, the password authentication method will automatically become invalid after binding the key pair.

After unbinding the key pair, you need to reset the instance password to log in to the ECS instance using password authentication.

Bind key pair

Follow the following steps to bind the key pair.

Log in to the ECS management console.

In the left navigation bar, select Network & Security > Key Pairs.

Select a region.

Find the key pair that needs to be operated, and in the Operation column, click Bind Key Pair.

How to bind and unbind an SSH key pair on the ECS management console

In the Bind Key Pair dialog box, in the Select ECS Instance column, select the name of the ECS instance to which the key pair needs to be bound, click >, Move into the selected column.

Description

Select the ECS instance name in the ECS instance column. If it is gray, it means that the instance is a Windows instance or a non-I/O optimized instance of Series I. This type of instance does not support SSH. Key pair.

Click OK to bind the key pair.

Unbind the key pair

Follow the following steps to unbind the key pair.

Log in to the ECS console.

In the left navigation bar, select Network & Security > Key Pairs.

Select a region.

Find the key pair that needs to be operated, and in the Operation column, click Unbind the key pair.

How to bind and unbind an SSH key pair on the ECS management console

In the Unbind Key Pair dialog box, in the Select ECS Instance column, select the name of the ECS instance that needs to be unbound, click >, and move to the Selected column. middle.

Click OK to unbind the key pair.

The above is the detailed content of How to bind and unbind an SSH key pair on the ECS management console. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn