Unable to negotiate with xxxx port xxxx: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
ssh远程时提示算法错误
解决方案,修改配置文件/etc/ssh/ssh_config,在最后添加
注意:KexAlgorithms 后面添加的是报错中提到的算法,这里是diffie-hellman-group1-sha1,看报错的最后。
HOST *
KexAlgorithms +diffie-hellman-group1-sha1