小编Par*_*ami的帖子

AWS 中的服务器关闭了连接

昨天连接到 AWS 服务器工作正常,但今天我尝试使用命令提示符进行连接,如下所示:

ssh -i <mypemfile.pem> ubuntu@<my-ip-address>
Run Code Online (Sandbox Code Playgroud)

我有错误:

连接被 IP 地址关闭

我还更改了安全组中的入站规则。

我尝试连接 filezilla、putty、winscp,但没有成功。请帮我找出问题所在。

我是从谷歌做的

ssh -v -i <mypemfile.pem> ubuntu@<my-ip-address>
Run Code Online (Sandbox Code Playgroud)

它将显示以下内容

OpenSSH_6.6.1, OpenSSL 1.0.1m 19 Mar 2015
debug1: Connecting to 52.88.36.194 [52.88.36.194] port 22.
debug1: Connection established.
debug1: identity file instacare.pem type -1
debug1: identity file instacare.pem-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubu
ntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000 …
Run Code Online (Sandbox Code Playgroud)

ssh command-line-interface amazon-web-services

4
推荐指数
1
解决办法
1万
查看次数