How can I restrict the access of some groups into distinct directories of their directory (/home/usersample) without disabling their SSH shell access? I followed this example: https://bensmann.no/restrict-sftp-users-to-home-folder/Subsystem sftp internal-sftpMatch Group sftponlyChrootDirectory %hForceCommand internal-sftpAllowTcpForwarding noHowever, this example is denying the SSH access.PS.: I didn't run the following command.usermod steve -s /bin/false
SFTP - Restrict directory access
ssh;chroot;sftp