【问题标题】:Why am I getting no matching mac found: client hmac-md5,hmac-sha1为什么我找不到匹配的 mac:client hmac-md5,hmac-sha1
【发布时间】:2020-12-01 01:03:00
【问题描述】:

由于某种原因,我与 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

谁能提出修复建议或告诉我发生了什么?

【问题讨论】:

  • 您使用的 ssh 版本非常旧。如果可能,您应该从升级它开始。

标签: git heroku ssh


【解决方案1】:

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

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

【讨论】:

  • 我在 Centos 6.4 上,当我尝试更新 OpenSSH 时,它说我是最新的。 sudo yum install openssh-server 软件包 openssh-server-5.3p1-123.el6_9.i686 已经安装和最新版本 无事可做
  • @jdog openssl 仍然很旧。有什么办法升级吗?
猜你喜欢
  • 2019-02-21
  • 1970-01-01
  • 2011-10-26
  • 1970-01-01
  • 2012-10-12
  • 1970-01-01
  • 2011-01-28
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多