File level logging for sftp

Red Squirrel

No Lifer
May 24, 2003
70,667
13,835
126
www.anyf.ca
How would I go about turning on file logging for sftp? I want to be able to see what files are accessed, what commands are typed (if users login to SSH itself) etc.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
That's not an OpenSSH thing, that's a system thing. Look at turning on user auditing. That _might_ help.