/etc/ssh/ssh_config file have follow config
Subsystem sftp internal-sftp -f AUTH -l INFO Match group tmrhackers ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no
and the sftp work fine with chroot. The official troubleshooting suggest
Logging the built-in sftp-subsystem inside a chroot jail, defined by ChrootDirectory, needs a ./dev/log node to exist inside the jail.
However here is a group with many user,do I need to add
./dev/log in every users home path or do I have some way to work around?