SSH Advanced Logging

Posted by Radek Šimko on Super User See other posts from Super User or by Radek Šimko
Published on 2010-06-16T19:12:56Z Indexed on 2010/06/16 19:23 UTC
Read the original article Hit count: 322

Filed under:
|
|

I've installed OpenSUSE on my server and want to set ssh to log every command, which is send to system over it.

I've found this in my sshd_config:

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

I guess that both of those directives has to be uncommented, but I'd like to log every command, not only authorization (login/logout via SSH). I just want to know, if someone breaks into my system, what did he do.

© Super User or respective owner

Related posts about linux

Related posts about ssh