I am looking for a way to log transfers over SFTP in Ubuntu. Nothing complicated, just a log where I can see which users have down/uploaded certain files. I read this but setting the -l INFO flag in sshd_config appears to not be working. Should that work for my purpose, or is there some other way?
Asked
Active
Viewed 1.1k times
1
1 Answers
1
Already answered: SFTP logging: is there a way?
For those of us on earlier versions of sshd (centos5 and the like) check out this patch: http://sftplogging.sourceforge.net/
eric sorenson
- 971
sshd -Vshows version) The log messages could be getting filtered by syslog because they are too low/verbose a level. I don't know what the default syslog.conf is on ubuntu, but try this: check for the file where where the normal sshd messages go. (/var/log/secureor/var/log/auth.logmaybe) Look at /etc/syslog.conf for the line with that logfile name in it, and make sure the loglevel specification on the left says 'facility.*'. – eric sorenson Jan 30 '11 at 06:24