端口443上的Amazon AWS登录错误

时间:2014-09-17 04:13:29

标签: amazon-web-services ssh amazon-s3

我正在尝试登录我的Amazon AWS实例,但我收到此错误。

        debug1: Connection established.
        debug1: identity file VOIPSystemServer.pem type -1
        debug1: identity file VOIPSystemServer.pem-cert type -1
        debug1: Enabling compatibility mode for protocol 2.0
        debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
        debug1: ssh_exchange_identification: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

        debug1: ssh_exchange_identification: <html><head>

        debug1: ssh_exchange_identification: <title>400 Bad Request</title>

        debug1: ssh_exchange_identification: </head><body>

        debug1: ssh_exchange_identification: <h1>Bad Request</h1>

        debug1: ssh_exchange_identification: <p>Your browser sent a request that this server could not understand.<br />

        debug1: ssh_exchange_identification: </p>

        debug1: ssh_exchange_identification: <hr>

        debug1: ssh_exchange_identification: <address>Apache/2.4.7 (Ubuntu) Server at ip-172-31-20-234.ap-southeast-2.compute.internal Port 80</address>

        debug1: ssh_exchange_identification: </body></html>

        ssh_exchange_identification: Connection closed by remote host

我已将端口更改为443,但我根本无法登录。我不记得把HTTP服务器放在端口443上,这是可以修复的吗?

1 个答案:

答案 0 :(得分:0)

已解决,我重新启动服务器实例,它又开始工作了。很抱歉发布一个多余的问题。不确定问题是什么,但实例重启是解决方案。