Question : Problem: How to enable SFTP logging?

I've got a Fedora 8 box running openssh-server 4.7p1 and I'm trying to enable SFTP logging.  I tried enabling SftpSysLogFacility in /etc/ssh/sshd_config, but that just gives me a "Bad configuration option" on startup.

Any thoughts?

Thanks!

Answer : Problem: How to enable SFTP logging?

The default syslog configuration for sftp is AUTH.ERROR.  To change this
edit /etc/ssh/sshd_config

and change the line

Subsystem sftp /usr/lib/openssh/sftp-server

to

Subsystem sftp /usr/lib/openssh/sftp-server -f LOCAL1 -l INFO

Adjust the syslog facility and level to suit your needs.

Random Solutions  
 
programming4us programming4us