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, 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