sudo vim /etc/ssh/ssh_config
把以下代码放到指定位置,
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
也就是Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc下面
升级12.2之后新问题
Unable to negotiate with 10.211.101.102 port 29419: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
在文件最后加上
// KexAlgorithms +diffie-hellman-group1-sha1
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa