I am getting the error of 'Server unexpectedly closed network connection' on Amazon ec2 Linux server. I tried to connect via putty and winscp too.
Till yesterday I was able to connect. Yesterday I just have given full permission to it's /etc/ directory and the subdirectories.
Now how to get resolve this issue. I have already raised a request to amazon support to set a default permission to /etc.