• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 12.5 sFTP Logging Per User? How?

J.Wick

Regular Pleskian
I've read a lot of tutorials online on how to log sFTP traffic.

What's the best way to accomplish this on Plesk 12.5? I run a pretty secure server and would like to have the file transfer and login logs for compliance. FTP is not allowed on the server for obvious reasons.

Would really be nice to have this built into Plesk.
 
You can define log level in /etc/ssh/sshd_config file. Change default line

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

to

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

The various levels (in order of detail) are:
QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3
 
You can define log level in /etc/ssh/sshd_config file. Change default line

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

to

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

The various levels (in order of detail) are:
QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3

Thanks Igor, do you know of any way to create individual customer account logs like FTP logs so we can see login and file transfer / manipulation information? Kind of need this for compliance.
 
Back
Top