服务器意外关闭了Amazon EC2上的网络连接 [英] Server unexpectedly closed network connection on Amazon EC2
问题描述
我在Amazon ec2 Linux服务器上收到服务器意外关闭网络连接错误。我也尝试通过腻子和winscp进行连接。
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.
直到昨天我仍然可以连接。昨天,我刚刚授予了它的/ etc /目录和子目录的完全权限。
Till yesterday I was able to connect. Yesterday I just have given full permission to it's /etc/ directory and the subdirectories.
现在如何解决此问题。我已经向亚马逊支持提出了将/ etc设置为默认权限的请求。
Now how to get resolve this issue. I have already raised a request to amazon support to set a default permission to /etc.
推荐答案
这是一个非常相似的问题:
无法访问亚马逊ec2实例
Here is a very similar question: Can't access to amazon ec2 instance
来自Matt Caton的答案:
From Matt Caton's answer:
看看这个问题: https:/ /serverfault.com/questions/364677/why-is-chmod-r-777-destructive 描述了类似的情况。
可能的解决方案: https://serverfault.com/questions / 234061 / re-gaining-root-access-to-an-ec2-ebs-boot-image
这篇关于服务器意外关闭了Amazon EC2上的网络连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!