1 回答
- 最新
- 投票最多
- 评论最多
0
Hello.
It is possible to change the SSH key of the EC2 key pair by following the steps in the document below.
https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2
If SSM Agent is installed on EC2, you can also set up an IAM role on EC2 and connect to the bash shell using Systems Manager Session Manager.
You can rewrite the SSH public key after connecting to the bash shell with Session Manager.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
Thanks Bro