Checking your logs for your VPS security

I’ve found some posts on the internet about how to check your logs with regards to login attempts or to simply put, checking logs so that you would know if someone is trying to access your Linux machine. Below is the command.

grep -ir ssh /var/log/*
grep -ir breakin /var/log/*
grep -ir security /var/log/*
This entry was posted in Linux and tagged , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *