Translated message

A translation of this page exists in English.

如何在 RHEL8 中修改 SSH 客户端的 Ciphers、MAC、KexAlgoritms

Solution In Progress - Updated -

Issue

  • 从 RHEL8 客户端连接到其他 Linux 或窗口系统时,如何修复报告的 MAC 和 KexAlgorithms 问题。

  • 从 RHEL8 连接到窗口系统时,得到错误,如下所示。

    # ssh username@node.example.com
    Unable to negotiate with x.x.x.x port 22: no matching MAC found. Their offer: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
    
  • 在修复 MAC 问题时,请参阅 DH 组问题。

    # ssh username@node.example.com
    Received disconnect from x.x.x.x port 22:2: Protocol error: no matching DH grp found
    Disconnected from x.x.x.x port 22
    Connection closed
    

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content