Hi again
I did find this that did look simple
SFTP chroot howto - Howto - NethServer Community
but have not got it to work.
I have create a user and a group in GUI and it can login to SFTP but is not chroot jail
I think it have to do something about how to connect the template to the group.
Nethserver have a local LDAP that have a user and group (call chrooted) but not sure how to connect the group from LDAP to the template.
I have try with both “chrooted@mydomain.se” and “chrooted@sftp.mydomain.se” and even just “chrooted”