cat >> /etc/ssh/sshd_config <<EOF KexAlgorithms +diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1 EOF sudo systemctl restart ssh
Xshell 4 连接 Ubuntu/Kali 报错 "找不到匹配的key exchange算法"
原文:https://www.cnblogs.com/MimiSnowing/p/15060870.html