Re:Ask HN: How do you handle server security/intrusion monit...
by ericd on Sunday November 22, 2009 @05:22PM
(#956303)
Good tip on the pub/priv key auth for ssh. Also on tripwire. Thanks!
Custom logs generated by your own app for things like login attempts, etc, are definitely useful for detecting issues. I was referring more to things like apache connection logs, and other logs generated by other programs - I would imagine that there's a huge range of things to look for.
Regarding authentication, you could use public/private key auth for ssh. This is stronger than passwords. You could also use two factors authentication (look for yubikey for an example)
And yes, such a tool exist: for instance tripwire.