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

Vue basics MVVM, template syntax and data binding

Table of contents 1. Vue Overview Vue official we...

Summary of MySQL injection bypass filtering techniques

First, let’s look at the GIF operation: Case 1: S...

Web page HTML code: production of scrolling text

In this section, the author describes the special...

How to expand Linux swap memory

Swap memory mainly means that when the physical m...

Complete steps to configure a static IP address for a Linux virtual machine

Preface In many cases, we will use virtual machin...

js realizes horizontal and vertical sliders

Recently, when I was doing a practice project, I ...

HTML table markup tutorial (28): cell border color attribute BORDERCOLOR

To beautify the table, you can set different bord...

Specific usage of fullpage.js full screen scrolling

1.fullpage.js Download address https://github.com...

A brief analysis of the basic concepts of HTML web pages

What is a web page? The page displayed after the ...

Vue realizes screen adaptation of large screen pages

This article shares the specific code of Vue to a...

Example of using the href attribute and onclick event of a tag

The a tag is mainly used to implement page jump, ...