Getting "failed message" in audit.log for ssh with host based authentication.
Issue
- When authenticating via
host-based authenticationkeys, 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.