Hello,
i created a user:
useradd -m test
set a new pw
passwd test
stripped it to only allow SFTP and not the shell
usermod --shell /bin/false test
created a group
groupadd sftpusers
addet the users to to the group
usermod --gid sftpusers test
Edit the sshd config
nano...