Home > Operation and Maintenance > Linux Operation and Maintenance > How to create an SSH key pair in a Linux instance

How to create an SSH key pair in a Linux instance

坏嘻嘻
Release: 2018-09-18 16:31:25
Original
1729 people have browsed it

The content of this article is about how to create an SSH key pair in a Linux instance. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Create SSH key pair

Usage restrictions

##SSH key pair, referred to as key pair, only supports Linux Example.

Currently, Alibaba Cloud only supports the creation of 2048-bit RSA key pairs.

Alibaba Cloud will save the public key part of the key pair.

After the key pair is successfully created, you need to download and keep the private key properly.

The private key uses unencrypted PEM (Privacy-enhanced Electronic Mail) encoded PKCS#8 format.

A cloud account can have up to 500 key pairs in a region.

Create a key pair

Log in to the ECS management console.

In the left navigation bar, click Key Pair.

Select a region.

On the Key Pair page, click Create Key Pair.

On the Create Key Pair page, set the key pair name and select Automatically create a new key pair.

Description

The specified key pair name should not be the same as the existing key pair name, nor should it be the same as the key pair name that was still bound to the instance before deletion. Otherwise, the console will report an error "Key pair already exists".

How to create an SSH key pair in a Linux instance

Click OK to create the key pair.

Description

After creating the key pair, you need to download and keep the private key safely. When this key pair is bound to an ECS instance, you will no longer be able to log in to the ECS instance without the private key.

After the key pair is successfully created, you can see the newly created key pair information in the key pair list, including key pair name, key pair fingerprint, etc.

Follow-up operations

After creating the key pair, you can bind and unbind the SSH key pair for the ECS instance.

The above is the detailed content of How to create an SSH key pair in a Linux instance. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template