-
报错现象-1
-
$ ssh test@1.1.1.1 Unable to negotiate with 10.20.250.56 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
-
处理方法
-
$ vi /etc/ssh/ssh_config ... Host * ... ### 在文本中最后添加下列内容 KexAlgorithms +diffie-hellman-group1-sha1
-
-
-
报错现象-2
-
$ ssh test@1.1.1.1 Unable to negotiate with 10.20.1.5 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
-
处理方法
-
$ vi /etc/ssh/ssh_config ... # Port 22 ... ### 将下面的配置解开注释 Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes128-cbc
-
-