Git 为什么找不到匹配的mac:客户端hmac-md5、hmac-sha1

Git 为什么找不到匹配的mac:客户端hmac-md5、hmac-sha1,git,heroku,ssh,Git,Heroku,Ssh,由于某种原因,我和heroku的联系开始失败。我猜海尔库做了一些改变,因为我的3台电脑在同一周内都停止了工作 如果我运行“ssh-vTgit@heroku.com” 我明白了 [brian@stat-vm ~]$ ssh -vT git@heroku.com OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 debug1: Reading configuration data /home/brian/.ssh/config

由于某种原因,我和heroku的联系开始失败。我猜海尔库做了一些改变,因为我的3台电脑在同一周内都停止了工作

如果我运行“
ssh-vTgit@heroku.com

我明白了

    [brian@stat-vm ~]$ ssh -vT git@heroku.com
    OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
    debug1: Reading configuration data /home/brian/.ssh/config
    debug1: Applying options for *
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug1: Connecting to heroku.com [50.19.85.156] port 22.
    debug1: Connection established.
    debug1: identity file /home/brian/.ssh/id_rsa type 1
    debug1: Remote protocol version 2.0, remote software version endosome
    debug1: no match: endosome
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.3
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    no matching mac found: client hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server hmac-sha2-256-etm@openssh.com,hmac-sha2-256
有人能提出修复方案或告诉我发生了什么吗?

这意味着客户端和服务器无法设置会话,因为他们无法就MAC(消息身份验证码)算法达成一致


首先要测试的是确保您安装了最新的Git,以及。

您使用的ssh版本非常旧。如果可能的话,你应该从升级开始。我在Centos 6.4上,当我尝试更新OpenSSH时,它说我是最新的。sudo yum安装openssh服务器包openssh-server-5.3p1-123.el6_9.i686已安装,最新版本无需安装do@jdog不过openssl仍然很古老。有办法升级吗?