Win32-OpenSSH icon indicating copy to clipboard operation
Win32-OpenSSH copied to clipboard

I need one log file for each chrooted user to be created under ...\logs folder

Open pmaron-prog opened this issue 3 years ago • 0 comments
trafficstars

Hi all,

I am pretty new to Openssh/Sftp and I am managing to replicate the behaviour of a very old product (Platinum FTP), once installed on a 2K3 server. When it comes to logging user activity, I've been able to only make it create the <ftp-server.log>, where the activity from all users is logged. I need to have a single logfile for each user. How could I possibly have that?

This is my current <sshd_config> settings

Logging

SyslogFacility LOCAL0 LogLevel Debug3

Match User xxxxxxxxxxx ChrootDirectory D:\SFTP\xxxxxxxxxxx AllowTcpForwarding no X11Forwarding no ForceCommand sftp-server.exe -l INFO -f LOCAL0

Thanks!


Troubleshooting steps https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Please answer the following

"OpenSSH for Windows" version 8.6.0.0

Server OperatingSystem Windows Server 2019 Standard

Client OperatingSystem Any What is failing One log file for each chrooted user is not created in Logs folder Expected output

Actual output

pmaron-prog avatar Jun 22 '22 10:06 pmaron-prog