[AWS How To Security]
SSH to an AWS Instance over SSM
The problem with SSHing to EC2 Instances A console by any other name While you can use an SSH proxy command to connect over SSM to your AWS EC2 instances, if you do, you lose the ability to log the session properly (should you need to) as you’re pushing SSH encryption over the SSM encryption and your AWS set up won’t be able to decrypt that.
read more