ssh log code example Example 1: ubuntu check ssh login log grep 'sshd' /var/log/auth.log Example 2: ssh login ssh [username]@[ip]