SFTP account access to public_html
Issue is how to connect in this case just to public_html as there is any password / username or path to particular folder. I like just access to public not the whole account.
Need help.
-
Hello, This isn't possible out of the box with cPanel as the only user that can SFTP is the cPanel user itself which will have full access to the entire account including the home directory. If you require SFTP, then you would need to add a new linux user but then you would run into issues with file ownership. 0 -
How to solve than securely access to public_html? Can be disabled configuration settings for FTP access but only particular accounts can have FTP accounts? 0 -
Securely access them in what way, are you referring to encryption or limiting the users access? If you want to force encryption, you can do so for FTP as well using FTPS In WHM go to [LIST] - Home "
- Service Configuration "
- FTP Server Configuration and set "TLS Encryption Support" to Required. If you are referring to limiting an FTP user access to a specific directory, like public_html, then you can create them an FTP in cPanel as well as specify the home directory so if you do public_html they will not be able to browse the home directory of the account.
0 -
Hello, The previous post is correct. You may also want to vote and add feedback to the following feature request: SFTP access for virtual FTP users Thanks! 0 -
Thank you for all replies. 0
Please sign in to leave a comment.
Comments
5 comments