• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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