Home > Operation and Maintenance > Linux Operation and Maintenance > How to unbind an SSH key pair for one or more Linux instances

How to unbind an SSH key pair for one or more Linux instances

坏嘻嘻
Release: 2018-09-25 16:03:58
Original
2682 people have browsed it

The content of this article is about how to unbind SSH key pairs for one or more Linux instances. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. .

DetachKeyPair

Detach SSH key pairs for one or more Linux instances.

Description

When using this interface, please note:

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

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

Request parameters

How to unbind an SSH key pair for one or more Linux instances

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=DetachKeyPair
&RegionId=cn-qingdao
&InstanceIds=["i-xxxxxxx", "i-yyyyyyy"]
&KeyPairName=test
&<公共请求参数>
Copy after login

Return example

XML format

<DetachKeyPairResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</DetachKeyPairResponse>
Copy after login

JSON format

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

Error code

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

How to unbind an SSH key pair for one or more Linux instances

The above is the detailed content of How to unbind an SSH key pair for one or more Linux instances. 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