Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of creating SSH key pair in Linux instance

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to create a SSH key pair in a Linux instance. I hope you will learn a lot after reading this article. Let's discuss it together.

Create a SSH key pair

Use restriction

SSH key pair, or key pair for short, only supports Linux instances.

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

Aliyun saves the public key portion of the key pair.

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

The private key uses an 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 the key pair.

Select the 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 duplicate the name of the existing key pair, nor the name of the key pair that was bound to the instance before deletion. Otherwise, the console will report that the key pair already exists.

Click OK to create the key pair.

Description

After you create the key pair, you need to download and take good care of the private key. When the key pair is bound to an ECS instance, you will no longer be able to log in to the ECS instance without a private key.

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

Subsequent operation

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

After reading this article, I believe you have some understanding of the method of creating SSH key pairs in Linux instances. If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report