起初,我能够使用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
答案 0 :(得分:0)