Interview Prep/Linux/SSH & Access Hardening

Why use AWS SSM Session Manager instead of SSH?

IntermediateProductionSSH & Access Hardening
Answer

The SSM agent makes an outbound connection to AWS, so no inbound port 22, no bastion and no SSH keys are needed. Access is controlled with IAM, every session can be logged to CloudWatch or S3, and you can still tunnel ports or run ssh over it (ProxyCommand aws ssm start-session ...). It needs the agent installed, an instance profile with AmazonSSMManagedInstanceCore, and network reach to the SSM endpoints (VPC endpoints in private subnets).

All Linux questions Roadmap: Linux

More on SSH & Access Hardening