解决ssh连接时提示找不到匹配的key exchange算法
一、编辑sshd
vim /etc/ssh/sshd_config
在KexAlgorithms配置项目后面增加如下内容:
,diffie-hellman-group1-sha1
备注:别忘了前面的逗号
二、重启sshd服务(不同操作系统命令稍微有所不同)
systemctl restart sshd
一、编辑sshd
vim /etc/ssh/sshd_config
在KexAlgorithms配置项目后面增加如下内容:
,diffie-hellman-group1-sha1
备注:别忘了前面的逗号
二、重启sshd服务(不同操作系统命令稍微有所不同)
systemctl restart sshd