- Newest
- Most votes
- Most comments
Hello.
Why not try connecting with Systems Manager Session Manager instead of SSH?
I think you can use it by setting the IAM role required to use Session Manager and attaching it to EC2.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html
Please note that SSM Agent must be installed on EC2.
In most cases, it is installed if you created EC2 using the AMI provided by AWS.
https://docs.aws.amazon.com/systems-manager/latest/userguide/ami-preinstalled-agent.html
I cannot by SSM because I get:
SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service.
Change the type for Nitro maybe?
I'm unable to get a way to disable ufw or fail2ban... I'm ban.
With EC2 Instance Connect I get: Failed to connect to your instance EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect. For more information, see EC2 Instance Connect Prerequisites at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html.
By SSH I get: connection timed out
By session manager I get: SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service ** By serial console I get:** This instance type is not supported for the EC2 serial console.
By Systems Manager I get @ step 1: assertInstanceIsManagedInstance -- aws:assertAwsResourceProperty == Failed
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
