从 rhel6 到 rhel8 的 SSH 连接失败并显示消息 'Unable to negotiate a key exchange method'
Issue
- 在从
RHEL6
到RHEL8
服务器的 ssh 连接过程中,在详细输出中得到以下内容:-
debug2: mac_setup: found hmac-sha1
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug2: mac_setup: found hmac-sha1
debug1: kex: client->server aes128-ctr hmac-sha1 none
Unable to negotiate a key exchange method
- 观察到以上消息,即使
FIPS
未启用。
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 6
- openssh
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.