On Wed, 12 Mar 2008, Calomel wrote: > Is it possible to enable DEBUG logging for internal-sftp in sshd? > > Using -current (Mar 12, 2008) and enabling a chroot'd sftp server we can > get sshd to log initial connections. But, we would also like to log sftp > activity like uploads, downloads, and directory changes similar to what > vsftpd does. > > The older sftp-server man page had a log facility (-f) and log level (-l) > options, but those arguments might not have been carried over to > internal-sftp. > > Perhaps the chroot environment keeps us from logging internal-sftp?
Yes. You should be able to have syslogd(8) listen on /dev/log inside the chroot to make messages from the internal sftp-server visible. -d