How to check SSH attack :--
-------------------
cat /var/log/secure | grep Failed | cut -d: -f7 | cut -d' ' -f1 | sort| uniq -c
-------------------
-------------------
cat /var/log/secure | grep Failed | cut -d: -f7 | cut -d' ' -f1 | sort| uniq -c
-------------------
No comments:
Post a Comment