如何恢复AWS服务器实例丢失的私钥? [英] How to recover lost private key of instance of aws server?

查看:113
本文介绍了如何恢复AWS服务器实例丢失的私钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我丢失了我的AWS实例的私钥.我在控制台面板中搜索了该选项.

I have lost private key of my AWS instance.I searched the option in console panel.

推荐答案

恐怕您可能不走运:

启动实例时,应指定密钥名称计划用于连接到实例的一对.如果不指定启动实例时,现有密钥对的名称,将无法连接到实例.当您连接到实例,您必须指定与该密钥相对应的私钥启动实例时指定的一对. Amazon EC2没有保留您的私钥副本;因此,如果您丢失了私钥,无法恢复.如果您丢失了用于实例存储支持的实例,您将无法访问该实例;你应该终止实例并使用新实例启动另一个实例密钥对.如果您丢失了由EBS支持的Linux的私钥实例,您可以重新获得对实例的访问权限.欲了解更多信息,请参阅如果丢失了连接到Linux实例私钥.

When you launch an instance, you should specify the name of the key pair you plan to use to connect to the instance. If you don't specify the name of an existing key pair when you launch an instance, you won't be able to connect to the instance. When you connect to the instance, you must specify the private key that corresponds to the key pair you specified when you launched the instance. Amazon EC2 doesn't keep a copy of your private key; therefore, if you lose a private key, there is no way to recover it. If you lose the private key for an instance store-backed instance, you can't access the instance; you should terminate the instance and launch another instance using a new key pair. If you lose the private key for an EBS-backed Linux instance, you can regain access to your instance. For more information, see Connecting to Your Linux Instance if You Lose Your Private Key.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html

这篇关于如何恢复AWS服务器实例丢失的私钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆