Cannot connect to EC2 by EC2 Instance Connect and SSH Client

0

Hello all there,

I cannot connect to EC2 by EC2 Instance Connect or SSH Client! What can be the cause?

Okhtay
asked 5 months ago191 views
2 Answers
0
Accepted Answer

It seems the problem was caused by memory limit. When I tried to install the node modules, the server hanged and stopped working, and I needed to restart the instance again.

Okhtay
answered 5 months ago
profile picture
EXPERT
reviewed a month ago
0

Hello.

Are any errors output when connecting?
If there is a timeout error, please check whether SSH is allowed in the inbound rules of the EC2 security group.
Check out the documentation below for other troubleshooting methods.
https://repost.aws/knowledge-center/ec2-linux-ssh-troubleshooting

profile picture
EXPERT
answered 5 months ago
profile pictureAWS
EXPERT
reviewed 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions