check ssh auth records code example Example: ubuntu check ssh login log grep 'sshd' /var/log/auth.log