SSH登陆故障: expected key exchange group packet form server.

修改 /etc/ssh/sshd_config

增加如下内容:

KexAlgorithms [curve25519-sha256@libssh.org](mailto:curve25519-sha256@libssh.org),ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1

Q.E.D.