本次问题解决纯属蒙对了,原理不清楚。
当我从一台CentOS 7.3的服务器通过ssh登录另外一台CentOS 6.8的服务器时出现以下错误信息:
1 2
| [root@192-168-72-75 .ssh]# ssh -p65522 bddev@192.168.72.208 no matching cipher found: client arcfour server chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
|
解决方法是在“192-168-72-75”服务器上修改/etc/ssh/ssh_config
配置文件,添加以下内容:
1 2 3 4
| Host * GSSAPIAuthentication yes Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
|
以上内容在原配置文件中本来就有,可能只是注释掉了,修改的时候仔细核对下。