There is a VPS server on centos7. You need to create a user so that he can log in via ssh, but he cannot log out of his home directory. When I create a user, he can go around the disk.
- Possible duplicate question: Prevent listing the root directory when connecting SFTP (SSH File Transfer) - aleksandr barakin
- Allow the user to login via ssh. Have you given users root access? - user208532
|