Not able to access ec2 instance

0

the EC2 was working fine until friday evening. it did not abruptly disconnect when you were doing some activity

after shutting down on friday and restarting the Ec2 on monday, SSh is not working

we have tried all below steps to recover

Mounting the EBS from affected EC2 on another EC2 as secondary Volume and inspecting the important directories Verifying and setting correct permissions to ~/.ssh, /etc/ssh/sshd_config, /home/ubuntu directories Ensure correct permission and ownership is present for all important config directories and files.

  • hi Riku_Kobayashi we are not able to login, ssm agent is not installed

已提問 1 年前檢視次數 224 次
2 個答案
0

Is there any chance that the EC2 public IP address has changed?
If you have not set up an Elastic IP, the IP address will change when you stop the EC2.

profile picture
專家
已回答 1 年前
0

hi @Riku_Kobayashi we are not able to login, ssm agent is not installed

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南