无法通过SSH进入AWS t2.micro实例

时间:2019-06-14 14:40:40

标签: amazon-web-services ssh

从昨天开始,我一直无法通过SSH进入运行中的2 t2.micro实例。这是我尝试SSH时收到的消息。

OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "18.220.246.107" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 18.220.246.107 [18.220.246.107] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file main.pem type -1
debug1: key_load_public: No such file or directory
debug1: identity file main.pem-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
ssh_exchange_identification: read: Connection reset by peer

我以前使用蜂窝数据(提供动态IP)进行SSH。 我不仅仅知道问题出在哪里,而且我需要进行重要的更新。

请问该如何解决?

0 个答案:

没有答案