SSH fails with the error "Server unexpectedly closed network connections"

Solution Verified - Updated -

Issue

  • /var/log/messages shows following errors:
May 26 11:07:02 hostname systemd-coredump[]: Resource limits disable core dumping for process 784350 (sshd).
May 26 11:07:02 hostname systemd-coredump[]: Process 784350 (sshd) of user 74 dumped core.

Environment

  • 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