2 Answers
- Newest
- Most votes
- Most comments
2
Hello, You ve got a direct Link to the answer that is in one of the FAQ's. Link- https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ssh-best-practices/ Link2- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html Few of the summarized Do's are as below:
- Rotate SSH keys regularly.
- Create Key Pairs Using Passphrase.
- Enable Google Authenticator based MFA for SSH.
- Change SSH from port 22 to a non standard port.
- Do not keep private keys in temp or home directories.
- Do not keep unused EC2 key pairs.
- Create individual IAM users using unique credentials. Thanks and hopefully this will help you achieve the best practices with respect to AWS-EC2-Key pair.
Relevant content
- asked 5 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 7 months ago