xshell5连接ssh,出现问题: “服务器发送了一个意外的数据包
在/etc/ssh/sshd_config
配置文件最后面添加下面一行
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1
systemctl restart ssh
在/etc/ssh/sshd_config
配置文件最后面添加下面一行
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1
systemctl restart ssh