Hi,
When setting the SSHD log level to verbose as recommended by the CIS, I get the 
following in the secure log :
Dec 17 11:32:29 myserver sshd[8456]: Connection from xx.xx.xx.xx port 44090 on 
xx.xx.xx.xx port 22
Dec 17 11:32:30 myserver sshd[8456]: Accepted key RSA SHA256: qhpzQKKbwaX8 
found at /usr/bin/sss_ssh_authorizedkeys:1
Dec 17 11:32:30 myserver sshd[8456]: Postponed publickey for myuser from 
xx.xx.xx.xx port 44090 ssh2 [preauth]
Dec 17 11:32:30 myserver sshd[8456]: Accepted key RSA SHA256: qhpzQKKbwaX8 
found at /usr/bin/sss_ssh_authorizedkeys:1
Dec 17 11:32:30 myserver sshd[8456]: Accepted publickey for myuser from 
xx.xx.xx.xx port 44090 ssh2: RSA SHA256: qhpzQKKbwaX8
Dec 17 11:32:30 myserver sshd[8456]: pam_unix(sshd:session): session opened for 
user myuser by (uid=0)
Dec 17 11:32:31 myserver sshd[8456]: User child is on pid 8460
Dec 17 11:32:31 myserver sshd[8460]: Starting session: shell on pts/4 for 
myuser from xx.xx.xx.xx port 44090 id 0

What are the corresponding events in audit ?
My main concern is with the bold line which indicates how the public key was 
granted

Could you point me to a documentation showing which events a ssh login would 
generate ?

Regards
Philippe

equensWorldline is a registered trade mark and trading name owned by the 
Worldline Group through its holding company.
This e-mail and the documents attached are confidential and intended solely for 
the addressee. If you receive this e-mail in error, you are not authorized to 
copy, disclose, use or retain it. Please notify the sender immediately and 
delete this email from your systems. As emails may be intercepted, amended or 
lost, they are not secure. EquensWorldline and the Worldline Group therefore 
can accept no liability for any errors or their content. Although 
equensWorldline and the Worldline Group endeavours to maintain a virus-free 
network, we do not warrant that this transmission is virus-free and can accept 
no liability for any damages resulting from any virus transmitted. The risks 
are deemed to be accepted by everyone who communicates with equensWorldline and 
the Worldline Group by email
--
Linux-audit mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-audit

Reply via email to