[wplug] piping grep

Michael Semcheski mhsemcheski at gmail.com
Wed Jun 17 10:34:57 EDT 2009


On Wed, Jun 17, 2009 at 9:09 AM, Arnaud<lists at arnaudloos.com> wrote:
> I'm trying to craft a bash statement that will output all the failed ssh
> connections for the current day. The auth log starts each entry with a date
> stamp like "Jun 17".

While this doesn't exactly answer your question, you may be interested
in checking out logwatch.

Logwatch will send you an email every day with information like,
failed ssh login attempts.

Hope that helps,

Mike


More information about the wplug mailing list