Compiled the project with default settings. Then updated sshd_config by addint "ForceCommand log-user-session" to the tail; and also created /etc/log-user-session.conf with one single line:
LogFile = /var/log/user-session/%h-%u-%y%m%d-%H%M%S-%c-%p.log
Everything looks fine, except SFTP. I'm using mobaxterm. It doesn't show files/folders in the remote machine.
SFTP works well again after "ForceCommand log-user-session" was disabled.
Hope someone can tell how to fix it. Thanks.
Compiled the project with default settings. Then updated sshd_config by addint "ForceCommand log-user-session" to the tail; and also created /etc/log-user-session.conf with one single line:
LogFile = /var/log/user-session/%h-%u-%y%m%d-%H%M%S-%c-%p.log
Everything looks fine, except SFTP. I'm using mobaxterm. It doesn't show files/folders in the remote machine.
SFTP works well again after "ForceCommand log-user-session" was disabled.
Hope someone can tell how to fix it. Thanks.