Linux - How to enable log for sftp on linux server, Enable log reporting for sftp server

How to enable log for sftp on linux server

Normally when we use FTP server which in default has configuration for log reporting. When we use sftp which use open-ssh for file transfer the log reporting can be configured as below.

How to configure log reporting for SFP in linux server? This works for openssh-server-4.3 or above.
 # vi  /etc/ssh/sshd_config 
Locate the Subsystem line and add logging option as below.
 Subsystem   sftp  /usr/libexec/openssh/sftp-server -f AUTHPRIV -l VERBOSE

The topic on Linux - How to enable log for sftp on linux server is posted by - Maha

Hope you have enjoyed, Linux - How to enable log for sftp on linux serverThanks for your time

Tech Bluff