Enable Logging on SFTP

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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *