Server unexpectedly closed the connection.

0 votes

Hi Guys,

My AWS EC2 instance throws an error "Server unexpectedly closed the connection"  while trying to connect with Putty or WinSCP. 

How can I solve this error?

Thank You

Apr 2 in AWS by akhtar
• 10,330 points
86 views

1 answer to this question.

0 votes

Hi@akhtar,

There are many reason to cause this scenario. But most usual one is you have not configured your Security Groups correctly. Check for port number 22 in your security group.

Hope this will help.

Thank You

answered Apr 2 by MD
• 22,520 points

Related Questions In AWS

+1 vote
2 answers
+5 votes
2 answers

Can we migrate the AWS Cognito users between the user pools?

Yes, it is possible that this scenario ...READ MORE

answered Apr 13, 2018 in AWS by Cloud gunner
• 4,630 points
4,599 views
+6 votes
15 answers

AWS VPC - What is the difference between Internet Gateway & NAT

Internet Gateway An Internet Gateway is a logical connection ...READ MORE

answered Apr 24, 2018 in AWS by Flying geek
• 3,210 points
40,332 views
0 votes
1 answer
0 votes
1 answer

"access denied" error when trying to move a file into the AWS server.

Hi@akhtar, I think you are trying to transfer file to ...READ MORE

answered Apr 2 in AWS by MD
• 22,520 points
164 views