Unbind SSH key pairs from one or more Linux instances

Unbind SSH key pairs from one or more Linux instances

DetachKeyPair

Unbind SSH key pairs from one or more Linux instances.

describe

When using this interface, please note:

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

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

Request Parameters

Return Parameter

All are public return parameters. See Common Parameters.

Example

Request Example

https://ecs.aliyuncs.com/?Action=DetachKeyPair

&RegionId=cn-qingdao

&InstanceIds=["i-xxxxxxx", "i-yyyyyyy"]

&KeyPairName=test

&<Common request parameters>

Return to example

XML format

<DetachKeyPairResponse>

 <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>

</DetachKeyPairResponse>

JSON format

{

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

}

Error Code

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

The above is the detailed content on how to unbind SSH key pairs for one or more Linux instances. Thank you for your support to 123WORDPRESS.COM.

You may also be interested in:
  • Install OpenSSH on Windows and log in to the Linux server by generating an SSH key
  • Detailed explanation of key login for sftp configuration under Linux
  • Linux system uses user key ssh host access
  • Linux VPS and server more secure setting Putty SSH use key login
  • Ensure Linux VPS and server security Xshell set up key login
  • Solution to the problem that Linux server cannot log in
  • How to use iptables to configure Linux to prohibit all port logins and open specified ports
  • Analysis of Linux configuration to achieve key-free login process

<<:  About MySQL innodb_autoinc_lock_mode

>>:  In-depth understanding of this in JavaScript

Recommend

How to encapsulate the carousel component in Vue3

Purpose Encapsulate the carousel component and us...

MySQL database aggregate query and union query operations

Table of contents 1. Insert the queried results 2...

JS array deduplication details

Table of contents 1 Test Cases 2 JS array dedupli...

Method of Vue component document generation tool library

Table of contents Parsing .vue files Extract docu...

CSS and HTML and front-end technology layer diagram

Front-end technology layer (The picture is a bit e...

Some methods to optimize query speed when MySQL processes massive data

In the actual projects I participated in, I found...

10 ways to view compressed file contents in Linux (summary)

Generally speaking, when we view the contents of ...

Detailed explanation of the usage of grep command in Linux

1. Official Introduction grep is a commonly used ...

Detailed explanation of important cascading concepts in CSS

Recently, I encountered a problem in the process ...

How to use dl(dt,dd), ul(li), ol(li) in HTML

HTML <dl> Tag #Definition and Usage The <...

HTML form tag tutorial (3): input tag

HTML form tag tutorial, this section mainly expla...

HTML table mouse drag sorting function

Effect picture: 1. Import files <script src=&q...

MySQL 8.0.18 installation and configuration method graphic tutorial under MacOS

This article records the installation of MySQL 8....