FerryAr / lhroot

Linux Chroot Installer & Bootscript Magisk Module.
GNU General Public License v3.0
195 stars 21 forks source link

SSH server in Chroot #15

Closed DvaMishkiLapa closed 1 year ago

DvaMishkiLapa commented 1 year ago

Is there a good way to bring up an SSH server inside a chroot when it is activated? Interesting for Ubuntu. Couldn't implement it myself without the usual Init or systemd.

FerryAr commented 1 year ago

You can use this https://github.com/smaknsk/servicectl

or with magisk, just create script on post-fs-data.d or service.d to start the daemon on boot