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