I followed the instruction on:
https://www.server-world.info/en/not...ux_9&p=ssh&f=5
/etc/ssh/sshd_config
Subsystem sftp internal-sftp
Match Group sftp_users
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory /home
ForceCommand internal-sftp
Include /etc/ssh/ssh_config.d/*.conf
and usermod -aG sftp_users gogo
but user gogo still able to access SSH
what I missed?