News for hackers. Stuff that matters.
Re:Ask HN: How can I secure my AWS instance's SSH access if ... by gioazzi on Friday February 18, 2022 @04:04AM (#30383597)
+1 - AWS Systems Manager Session Manager [1] is the future! (although it does have a ridiculous name...) It's free, and configuring its agent can enable you to do other useful maintenance tasks through it.

Assuming you're using Amazon Linux 2 as your AMI, it's just as simple as assigning a instance profile with the right permissions (you can use the managed AmazonSSMManagedInstanceCore policy [2]). And you'll then be able to connect through the AWS Console or CLI.

[1]: https://docs.aws.amazon.com/systems-manager/latest/userguide...

[2]: https://console.aws.amazon.com/iam/home#/policies/arn:aws:ia...

Re:Ask HN: How can I secure my AWS instance's SSH access if ... by gkrishna on Friday February 18, 2022 @10:25AM (#30386891)
I will be going with this solution as it is free and simple. Thank you for briefing on this!