Hello Hestia Team!
I have rarely tested the web interface of Hestia. I got curious to see, if the jail for a user is working, although I never needed and also am never going to need it. To make things easier on composer (and to not always work as root for Laravel developments), I have attempted to do the following ONLY FOR TESTING PURPOSE:
I have added the same ssh-ed25519 public key I use for logging as root.
I activated the bash on the account level.
Restarted the SSH deamon.
I made sure that there is no local config file on the account level for it to use the global for sshd.
The global sshd is used for root and is configured to use ssh-ed25519 for remote ingress.
Logically, I should now be able to login under the user name.
However, the ssh-ed25519 private key is not accepted. All other key qualities are not available.
The /home/$user/.ssh/authorized_keys that is created has chmod 0644 and chown $user:$user. Is this OK for jailing in shell? I think yes…
By entering the password, it works. But I have never had this option turned on beyond testing purpose and do not like it.
I have also tried to activate the “Jail User shell” option.
The reason why I write this post is not because I am in need of help.
I DO NOT NEED HELP AT ALL!
I simply want to draw attention of the team and let them know what I have done and if there is something they need to know from my action, like permissions, logs, etc. It is possible that this area is still under development. If this is the case, I am not bothered to spend my time on it as this could be eradicated in the mean time.