Security problem with sftp access (with regular user)

Hi, I have a security issue

I have created a new hestiaCP user, to which I assigned the bash role, so that it can access via SSH or SFTP, however this new hestiacp user can browse all the directories of my server in the root, how can I restrict users, so that they can only access the user’s root.

I can see all the users in the /home directory, also all the directories in the / root

Thanks.

User with bash permission can see all home folders but not read them This is not a security issue, it’s by design. Stick to jailed ssh or no shell for jailed sftp.

2 Likes

Thanks i update the user profile to jailbash

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.