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

How to unbind SSH key pairs for one or more Linux instances

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

Share

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

Xiaobian to share with you how to achieve one or more Linux instances to untie SSH key pairs, I hope you have something to gain after reading this article, let's discuss it together!

DetachKeyPair

Unbind SSH key pairs for one or more Linux instances.

described

When using this interface, please note:

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

After unbinding SSH key pairs, instances default to username and password authentication.

request parameters

return parameter

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&

example of returned result is as

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

JSON format

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

error code

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

After reading this article, I believe you have a certain understanding of "how to unbind SSH key pairs for one or more Linux instances." If you want to know more about this knowledge, please pay attention to 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