繁体   English   中英

无法连接到我的AWS EC2实例

[英]Cannot connect to my aws ec2 instance

我面临着“ ssh_exchange_identification:读取:对等连接重置”错误。 我之前的会话异常关闭。 现在,我无法连接到我的实例。

非常感谢您的帮助。 谢谢。

以下是调试信息

ssh -i "aws/githubapi.pem" ubuntu@52.26.94.220 -vv

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 52.26.94.220 http://52.26.94.220 port 22.
debug1: Connection established.
debug1: identity file aws/githubapi.pem type -1
debug1: identity file aws/githubapi.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
ssh_exchange_identification: read: Connection reset by peer

更多信息:

ssh -v ubuntu@54.148.82.122

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 54.148.82.122 [54.148.82.122] port 22.
debug1: Connection established.
debug1: identity file /home/moiz/.ssh/id_rsa type -1
debug1: identity file /home/moiz/.ssh/id_rsa-cert type -1
debug1: identity file /home/moiz/.ssh/id_dsa type -1
debug1: identity file /home/moiz/.ssh/id_dsa-cert type -1
debug1: identity file /home/moiz/.ssh/id_ecdsa type -1
debug1: identity file /home/moiz/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/moiz/.ssh/id_ed25519 type -1
debug1: identity file /home/moiz/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
ssh_exchange_identification: read: Connection reset by peer

我的Intranet防火墙阻止了我发送SSH请求。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM