If you need to get a view on authentication attemps on an ESXi and to order by IP address and attemps counts: 1grep -Eo "Connection from [^ ]* " $(ls -rt /var/log/auth.*) | awk '{print $NF}' | sort | uniq -c | sort -nr And you will get something like: 1156 172.16.25.23 216 172.16.25.32 31 172.16.52.2
Read MoreA quick tip to easily generate random password from a bash command line. Add the following lines to your bashrc file: 1alias genalphanumpasswd='tr -cd '''[:alnum:]''' < /dev/urandom | fold -w30 | head -n1' 2alias genpasswd='tr -cd '''[:graph:]''' < …
Read More