Wednesday, April 7, 2010

sftp log

/etc/ssh/sshd_config
# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
&
# override default of no subsystems
Subsystem sftp /usr/sbin/sftp-server -l INFO -f AUTH

/etc/syslog.conf
auth.info /var/log/auth.log

ls -l /var/log/auth.log
-rw-rw-rw- 1 root system 0 Apr 15 14:53 /var/log/auth.log

#refresh -s syslogd

No comments: