C
C
Cerg1212015-06-24 10:56:41
Cygwin
Cerg121, 2015-06-24 10:56:41

How to setup file transfer logging via SFTP Cygwin?

At the moment, authentication information is being written to the log, but I would also like to receive information about what time and what was downloaded / deleted.
/etc/sshd_config says:
SyslogFacility LOCAL5
LogLevel INFO
C:\cygwin64\etc\syslog-ng\syslog-ng.conf
source s_local {
system();
internal();
};
source s_network {
udp();
};
destination d_local {
file("/var/log/messages");
};
log {
source(s_local);
# uncomment this line to open port 514 to receive messages
#source(s_network);
destination(d_local);
};

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question