Change ChrootDirectory from %h to specific folder

Can ChrootDirectory be changed to something else when logging in via SFTP? I want to change ChrootDirectory %h to ChrootDirectory /web/pbwer.com/public_html

Can this be changed for each user?

Basicly you could adjust your sshd_config to your requirement, we do not overwrite it. But be informed, that this affects the filemanager aswell.

An option inside of hestia to customize this on user level isnt available and also not planed.

1 Like