突然间两台服务器失联了,系统管理终端可以通过用户和密码进行登录。服务起来之后,无论开启或关闭防火墙都不能获得服务。查看了安全组也没问题。
服务器上的 ssh 服务是正常的,且已通过问题排查,sshd 配置没有问题。
服务器上的 ~/.ssh/authorized_keys 上的公钥也是正确的。
ssh 始终无法连接服务器(使用公钥登录)。
Fc-mac:~ apple$ ssh -i ~/.ssh/platform-keypair.pem -vvv root@47.100.55.61
OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 47.100.55.61 port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/apple/.ssh/platform-keypair.pem type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/apple/.ssh/platform-keypair.pem-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
debug3: fd 5 is O_NONBLOCK
debug1: Authenticating to 47.100.55.61:22 as 'root'
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
永远都卡在上面 "debug1: SSH2_MSG_KEXINIT sent"
这个应该怎么解决?