Getting "failed message" in audit.log for ssh with host based authentication.

Solution Unverified - Updated -

Issue

  • When authenticating via host-based authentication keys, the destination server logs a failed result for the first attempt then succeeds on the subsequent attempts.
 type=USER_AUTH msg=audit(148632.38:14xx6): user pid=2xx69 uid=0 auid=501 ses=2x17 subj=unconfined_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=hostbased acct="XXXXXXX" exe="/usr/sbin/sshd" hostname=? addr=10.xx.xx.xx terminal=ssh res=failed'

Environment

  • Red Hat Enterprise Linux 6
  • SSH

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.