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