Not able to login to EC2 instance through putty.

0

We were not able to login into my EC2 instance through putty and giving error "Network error: Software caused connection abort". We saw on AWS console that EC2 instance was running but still not able to login and also saw that CPU utilization for some period is showing nothing and suddenly showed utilization after few minutes.

After that we restarted the EC2 instance and we were able to connect it . Can anyone help me to know why this has happened?

질문됨 2년 전296회 조회
1개 답변
0

Hey there! Warm greetings.

You have mentioned that you cannot connect to your instance via PuTTY. Which is giving you an error “Network error: Software caused connection abort”.

With regards to the error experienced, this error is usually experienced when using PuTTY to connect to the instance, and occurs when the session is left idle for some time, which causes PuTTY to break the connection. This can be resolved by setting a keepalive by navigating to "Connection" -> "Seconds between keepalives", and setting a value greater than 0. For more information on the error I have added a reference document [1].

Further more the CPU utilisation could have showed nothing and after a few minutes showed that it was being utilised because the instance was in a stop state. When it comes to CloudWatch metrics it takes about 5 minutes before it is populated, unless you have detailed monitoring configured which takes about 1 minute to populate the CloudWatch metrics [2].

References:

[1] https://superuser.com/questions/294824/putty-network-error-software-caused-connection-abort

[2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html

Antonio
답변함 2년 전

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

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

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

관련 콘텐츠