Skip to content

SSH Browser (SFTP) doesn't work after adding "ForceCommand log-user-session" to sshd_config #20

@ChimeHH

Description

@ChimeHH

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions