Cannot connect to myec2 through ssh suddenly fronm today

0

I have t4g.xlarge ec2 yesterday it was working fine i can able connect to ssh but today when switched on ec2 i could not connect my ec2 through bash but i can view and start through jenkins installed in it but i could not connect to my ec2 instance

Gokul
질문됨 한 달 전103회 조회
2개 답변
0

Hello.

It may be that sshd was not able to start properly.
I think it would be a good idea to follow the steps in the document below to check the system log and see if any errors have occurred.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

You may also try connecting to the OS using a serial console or Systems Manager Session Manager.
Once you are able to connect using the serial console or Systems Manager Session Manager, check the SSH logs and status to see if any problems have occurred.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-serial-console.html

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
0

Ensure you're using the current, correct IP address - when the EC2 was started today after being stopped yesterday, it would have been allocated a new & different public IP address.

profile picture
전문가
Steve_M
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠