hestiacp / hestiacp

Hestia Control Panel | A lightweight and powerful control panel for the modern web.
https://hestiacp.com
GNU General Public License v3.0
3.4k stars 680 forks source link

[Bug] chroot ssh or chroot sftp: chroot ssh coming in v1.9 #4446

Closed gthb1 closed 4 months ago

gthb1 commented 4 months ago

Describe the bug

Hi, chroot ssh seems not to work, only chroot sftp. Is the current state of hestiacp more like (1) chroot ssh: https://linuxconfig.org/jail-ssh-user-to-home-directory-on-linux OR (2) chroot sftp: https://access.redhat.com/solutions/2399571 ? Could (1) be done eventually if not so already? Please let me know if I missed something. Thx

Tell us how to replicate the bug

Create user and enable ssh for that user. Login via ssh, and all the server is available, not just the user's directories.

Which components are affected by this bug?

Control Panel Command Line Interface

Hestia Control Panel Version

1.8.11

Operating system

Ubuntu 22.04.4 LTS

Log capture

No response

jaapmarcus commented 4 months ago

we don't offer chroot ssh yet ..

Will be added in 1.9