Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of unbinding SSH key pairs for one or more Linux instances

Shulou Source: shulou.com Published: 2022-06-02 04:24:53 11月12日 Update

How to unbind SSH key pairs for one or more Linux instances? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

DetachKeyPair

Unbind the SSH key pair for one or more Linux instances.

Description

When using this interface, please note that:

After unbinding the SSH key pair, you need to restart the instance (RebootInstance) for the changes to take effect.

After unbinding the SSH key pair, the instance uses username and password authentication by default.

Request parameter

Return parameters

All are common return parameters. See common parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=DetachKeyPair&RegionId=cn-qingdao&InstanceIds=["i-xxxxxxx", "i-yyyyyyy"] & KeyPairName=test&

Return the example

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

JSON format

{"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

Thank you for reading! After reading the above, do you have a general idea of how to unbind the SSH key pair for one or more Linux instances? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Tags: Instance key content parameter error multiple example method interface article more format problem password method user user name look industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi Microsoft Huawei Docker