sshd: error: kex_exchange_identification: Connection closed by remote host

Solution Unverified - Updated -

Issue

  • The following messages appear frequently in /var/log/secure.

    Feb 19 20:01:10  sshd[806942]: error: kex_exchange_identification: Connection closed by remote host
    Feb 19 20:01:14  sshd[806943]: error: kex_exchange_identification: Connection closed by remote host
    Feb 19 20:01:15  sshd[806944]: error: kex_exchange_identification: Connection closed by remote host
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • openssh

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