diff --git a/files/sshd_config b/files/sshd_config index 0073db7..7924381 100644 --- a/files/sshd_config +++ b/files/sshd_config @@ -44,7 +44,6 @@ PrintMotd no #PrintLastLog yes #TCPKeepAlive yes #UseLogin no -#UsePrivilegeSeparation sandbox #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 @@ -59,8 +58,8 @@ UseDNS no # Allow client to pass locale environment variables AcceptEnv LANG LC_* -# override default of no subsystems -Subsystem sftp /usr/lib/openssh/sftp-server +# Log sftp level file access (read/write/etc.) that would not be easily logged otherwise. +Subsystem sftp /usr/lib/openssh/sftp-server -f AUTHPRIV -l INFO # Example of overriding settings on a per-user basis #Match User anoncvs