为什么我找不到匹配的mac:client hmac-md5,hmac-sha1

时间:2017-10-29 03:47:30

标签: git heroku ssh

出于某种原因,我与heroku的连接开始失败。我猜Heorku做了一些改变,因为我的所有3台计算机都在同一周内停止工作。

如果我运行“ssh -vT git@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

有人可以建议修复或告诉我发生了什么吗?

1 个答案:

答案 0 :(得分:0)

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

要测试的第一件事是确保安装了最新的Git,以及latest openssh