Enable Logging on SFTP

Written by Yujin Boby

Edit in WordPress

To enable logging in SFTP, edit file

vi /etc/ssh/sshd_config

Find

Subsystem sftp /usr/libexec/openssh/sft

Replace wih

Subsystem sftp /usr/libexec/openssh/sftp-server -l INFO

Restart sshd

systemctl restart sshd

See sftp