I'm on FreeBSD11. I changed syslog config file to log sftp actions in a file, but it doesn't work.
/etc/ssh/sshd_config
/etc/syslog.conf
Then I restart the services, but any action saved in sftp.log and it's empty.
Thank you for your help.
/etc/ssh/sshd_config
Code:
Subsystem sftp /usr/libexec/sftp-server -f LOCAL5 -l INFO
/etc/syslog.conf
Code:
local5.info /var/log/sftp/sftp.log
Then I restart the services, but any action saved in sftp.log and it's empty.
Thank you for your help.
Last edited by a moderator: