gpt4 book ai didi

amazon-ec2 - 所有区域的单个 key 对

转载 作者:行者123 更新时间:2023-12-03 00:58:36 24 4
gpt4 key购买 nike

我可以在所有区域使用相同的 key 对文件吗?我想让 ssh 访问尽可能简单。

我为每个区域设置了一个文件。我尝试在不同区域上传相同的文件,但它没有按预期工作。

最佳答案

同时,这已通过导入您自己的 key 对启用,请参阅介绍性帖子 New Amazon EC2 Feature: Bring Your Own Keypair :

You can now import your own RSA keypair (or the public half, to be precise) for use with your Amazon EC2 instances.

Why would you want to do this? Here are a couple of reasons:

  1. Trust - By importing your own keypair you can ensure that you have complete control over your keys.
  2. Security -You can be confident that your private key has never been transmitted over the wire.
  3. 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.

因此,我建议您阅读他的文章,了解实现此目标所需的(少量且简单的)步骤。

关于amazon-ec2 - 所有区域的单个 key 对,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10207416/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com