Skip to content

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?

asked 2 years ago1.5K views
2 Answers
1
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.

answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years 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

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years 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.