© 2021 Amazon Web Services, Inc. or its Affiliates. All rights reserved.
在AWS控制台进行EC2服务界面。
在左侧面板,点击 Key Pairs。选择Create Key Pair
给 Key pair命名,并点击Create Key Pair。
打开Cloud9控制台,进入上一节创建的环境。
将刚创建的密钥对上传至Cloud9:
上传成功后,使用Cloud9的命令行界面修改密钥对的权限:
chmod 400 <yourkey.pem> // Replace*<yourkey.pem>* with the name of your key file.