环景:
Ubuntu 20.04.3-live-server
问题描述:
Xshell5 连接ubuntu20.04.3失败,提示“找不到匹配的key exchange算法“
解决方案:
1.增加ubuntu20.04 key excange算法diffie-hellman-group14-sha1
echo "KexAlgorithms +diffie-hellman-group14-sha1" >>/etc/ssh/sshd_config
2.重启sshd
systemctl restart sshd
2.测试