From 4f7c0d6e698e507d1a3aee1d62d45c117f19674b Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Tue, 22 Sep 2020 10:03:29 +0200 Subject: [PATCH] Add TransfertLog to sftp and ftps configuration --- proftpd/templates/ftps.conf.j2 | 1 + proftpd/templates/sftp.conf.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/proftpd/templates/ftps.conf.j2 b/proftpd/templates/ftps.conf.j2 index ceec0631..33a2cff3 100644 --- a/proftpd/templates/ftps.conf.j2 +++ b/proftpd/templates/ftps.conf.j2 @@ -25,6 +25,7 @@ DefaultRoot ~ PassivePorts 60000 61000 + TransferLog /var/log/proftpd/xferlog AllowGroup ftpusers diff --git a/proftpd/templates/sftp.conf.j2 b/proftpd/templates/sftp.conf.j2 index 5f12ca9c..9a96e5ef 100644 --- a/proftpd/templates/sftp.conf.j2 +++ b/proftpd/templates/sftp.conf.j2 @@ -12,6 +12,7 @@ DefaultRoot ~ SFTPLog /var/log/proftpd/sftp.log + TransferLog /var/log/proftpd/xferlog SFTPAuthMethods password SFTPHostKey /etc/ssh/ssh_host_ecdsa_key