I have set up my machine so that my group "sftponly" can access the users home folder. But right now, the users in the group don't have permission to other folders, but they have permission to see them.
How can I change this so that the users in the group only can see their home folder?
My OS is Ubuntu, this is in my
Match Group sftponly ChrootDirectory %h AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp
Right now, it looks like this when a user connects with SFTP: