这是不可能的,当使用由
Amazon EC2生成的keypairs,但同时已通过使用您自己的键盘启用,请参阅介绍性帖子
New Amazon EC2 Feature: Bring Your Own Keypair:
原文链接:/javaschema/281959.htmlYou can now import your own RSA keypair (or the public half,to be
precise) for use with your 07000 instances.Why would you want to do this? Here are a couple of reasons:
- Trust – By importing your own keypair you can ensure that you have
complete control over your keys.- Security -You can be confident that
your private key has never been transmitted over the wire.- Management of Multiple Regions – You can use the same public key across multiple
AWS Regions. [emphasis mine]
这种方法实际上是非常有益的/方便的 – 我已经使用了很长一段时间了,而且它确实有助于EC2的工作.
Eric Hammond在他的文章Uploading Personal ssh Keys to Amazon EC2中提供了更多的细节和简短的教程:
Amazon recently launched the ability to upload your own ssh public key
to EC2 so that it can be passed to new instances when they are
launched. Prior to this you always had to use an ssh keypair that was
generated by Amazon.
因此,我建议遵循他的文章,了解实现这一点所需的(少数和简单的)步骤.