Error establishing SSH connection to your instance.

0

I can't connect to my EC2 instance after attaching a new volume (from a snapshot). Please advise. Thank you.

已提问 3 年前3188 查看次数
3 回答
1

Hello,

I have faced the same problem.

Followed the below steps to resolve the issue,

  1. go to date and time settings on your pc.
  2. turn on below options i. set time zone automatically ii. set time automatically

Hope this helps!!!!

已回答 9 个月前
  • thanks a lot!! I struggled a whole day with this problem!!!

0

Hi, @OnFleek.

You should refer to the following article to get the detailed error message and troubleshoot.

https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-ssh-troubleshooting/?nc1=h_ls

Once you know the cause, use the serial console or EC2 Rescue to solve the problem.

profile picture
专家
已回答 3 年前
  • Linux instance. I am following these instructions and everything is looking fine. The original problem accessing my site happened when I attached a new volume to it. It was during that troubleshooting that I discovered that I could no longer connect to my instance. Could they be related?

  • @OnFleek.

    Yes, I think they are related.
    Please share the error when connecting.

0

"Error establishing a database connection" when trying to access site.

"Failed to connect to your instance. Error establishing SSH connection to your instance. Please wait and try again later." when trying to connect to my instance.

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则