【发布时间】:2019-03-27 13:21:42
【问题描述】:
起初,我可以使用 ssh 进行连接。 一段时间后,连接关闭,从那以后我无法连接。 下面是调试日志。 我可以看到连接已建立但再次中断。
我已尝试重新启动、启动和停止服务器,但对我没有任何效果。请帮忙。
username:coding my.name$ ssh -i "aws_ubuntu_16.pem" ubuntu@xx.xx.xx.xx -vv
OpenSSH_7.7p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: resolve_canonicalize: hostname xx.xx.xx.xx is address
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xx.xx.xx.xx [xx.xx.xx.xx] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file aws_ubuntu_16.pem type -1
debug1: key_load_public: No such file or directory
debug1: identity file aws_ubuntu_16.pem-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.7
ssh_exchange_identification: read: Connection reset by peer
【问题讨论】:
标签: amazon-ec2 ssh