SSH Authentication Failure Messages: RHEL 7 Shows "Authentication Failed" While RHEL 8 Shows "Connection Closed" Despite Same Login Failure
Issue
-
SSH does not return
"Authentication failed."message. -
"Authentication failed"prompt is not presented afterunsuccessfullogin -
Red Hat Enterprise Linux8 SSH client does not show"Authentication failed."prompt afterunsuccessfullogindeniedbyPAMpam_access. Red Hat Enterprise Linux7 client shows thepromptcorrectly, leading to userconfusiononRed Hat Enterprise Linux8+.
Environment
- Red Hat Enterprise Linux 8
- OpenSSH
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.